У нас вы можете посмотреть бесплатно Overview of Deploying Streamlit Expense App for FREE to Streamlit Cloud & Issues of Streamlit Mobile или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Part 1: In the previous video I created an Expense App using python & streamlit & deployed it to my VPS (Virtual Private Server). In this video I deploy the App to Streamlit Cloud for Free. To do that you also need to create a Github account (for Free) if you don’t have one already and then put your code into the github repository. You then log in to your free Streamlit Account and connect to the Github repository and it will upload those files to Stramlit cloud to run. The process is pretty simple if you are familiar with Github. You need to have a ‘requirements.txt’ file to contain the packages/modules that you are using in your script, and you use C:\ pip freeze (to) requirement.txt to get a list of all your current python packages/modules & their versions. Delete all the ones you don’t need for your app and save the rest (see video). This video is an overview of the process, for more in depth steps I’ve given a link to some YouTube videos you can review for a more specific setup. YouTube ‘deploy streamlit app’: https://www.youtube.com/results?searc... YouTube deploy streamlit app to streamlit.io: https://www.youtube.com/results?searc... One thing with the Streamlit cloud deployment, you must be logged in to be able to use the app. So when you sign up you may want to use a free email account that you canshare with others if you want to share your app. As this app is deployed to a remote server, if you want to get a downloaded csv file of the data from the database, you need to setup an email account and password (gmail app password- see previous videos on this topic) then you need to make the github repository PRIVATE (which you can do in your free account) so that you can put the password in either an .env file or in the script itself. Part 2: Although the Streamlit framework is responsive (works on different devices of different formats ()PC, mobile in Portrait or Landscape modes) it is not easy to scale it nicely to a mobile app. I spent a whole morning trying to adjust the components in the app so that it was better suited to my mobile phone but was disappointed with the results. To that end I may consider, with my next mobile app to use the Flask Framework instead of the Streamlit framework as you have more control of the HTML setout on the page. Because it would be a Flask app you couldn’t deploy it to Streamlit cloud, but you could deploy it to Render (see Sven’d video Deploy Your Streamlit App To Render (Free Heroku Alternative): • Deploy Your Streamlit App To Render (Free ... ) so you may want to consider deploying your app to Render instead, so that if you build flask apps you can deploy them on the same platform. The code using for this app you can find at Script Link: https://drive.google.com/drive/folder... I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias Please visit my blog for similar topics: https://cr8ive.tk Kind regards, Max Drake