Deploy Your Streamlit Web App on Heroku For Free (fast & easy)

  Рет қаралды 63,337

Coding Is Fun

Coding Is Fun

3 жыл бұрын

👉 Explore All My Excel Solutions: pythonandvba.com/solutions
𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
In this tutorial, I am going to show you how to deploy your streamlit web application for free on Heroku. After this tutorial, your web application will be live on the internet and you could share it with the world.
You can find all the files from the tutorial here [Google Drive]:
👉 bit.ly/2Qe3Rxb
👩‍💻 GIT COMMANDS
git add .
git commit -m "Enter your message here"
git push heroku master
heroku ps:scale web=1
_________________________
🚩 LINKS
Blog Post from Gilbert Tanner:
gilberttanner.com/blog/deploy...
Download GIT here:
git-scm.com/downloads
Download Heroku CLI here:
devcenter.heroku.com/articles...
Keeping your Heroku App awake:
kaffeine.herokuapp.com/
𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🆓【𝗙𝗥𝗘𝗘】Excel Add-in (𝗠𝘆𝗧𝗼𝗼𝗹𝗕𝗲𝗹𝘁): pythonandvba.com/mytoolbelt
📊 Dashboard Excel Add-In (𝗚𝗿𝗮𝗳𝗹𝘆): pythonandvba.com/grafly
🎨 Cartoon Charts Excel Add-In (𝗖𝘂𝘁𝗲𝗣𝗹𝗼𝘁𝘀): pythonandvba.com/cuteplots
🤪 Fun Emoji Excel Add-In (𝗘𝗺𝗼𝗷𝗶𝗳𝘆): pythonandvba.com/emojify
📑 Excel Templates: pythonandvba.com/go/excel-tem...
🎓 My Courses: pythonandvba.com/go/courses
📚 Books, Tools, and More: pythonandvba.com/resources
𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🔗 LinkedIn: / sven-bosau
📸 Instagram: / codingisfun_official
💻 GitHub: github.com/Sven-Bo
💬 Discord: pythonandvba.com/discord
📬 Contact: pythonandvba.com/contact
☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲?
If you want to support this channel, you can buy me a coffee here:
▶ pythonandvba.com/coffee-donation

Пікірлер: 357
@CodingIsFun
@CodingIsFun Жыл бұрын
🚨 *Please note that as of November 28, 2022, Heroku is no longer a free option for deploying my Streamlit web app.* 🚨 However, fear not! I've got you covered with my tutorial on deploying your Streamlit app on Render. Check out the link here: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
@potatow3
@potatow3 Жыл бұрын
it's not free anymore even using "heroku ps:scale web=1" or Render is a better option?
@G32352443
@G32352443 Жыл бұрын
You drop this king : 👑
@theresebd8077
@theresebd8077 3 жыл бұрын
Thanks a lot for your tutorial. Perfect : Explained step by step and furthermore because you have included errors and you have shown how to fix them and that was just a great idea.
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you for watching the video & your comment. Glad you liked the tutorial (incl. the error handling) :)
@rizdiramadhan1641
@rizdiramadhan1641 3 жыл бұрын
What a superb way. Bringing apps to Heroku deployment to see my both apps works well was never so easy before. My gratitude for you....
@CodingIsFun
@CodingIsFun 3 жыл бұрын
*Hi Rizdi Ramadhan. I am glad you liked the video; thanks for watching and for the comment!*
@publicreviewer7187
@publicreviewer7187 2 жыл бұрын
Dude, this is wonderful tutorial. Best part of your tutorials are not lengthy, so it's making me to watch, listen, concentrate and execute it. Yes i am able to create my python app and deploy to Heroku. Thank you so much, will try to buy you a coffee :)
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Many thanks for the generous feedback and the coffee! 🙏
@raedokal
@raedokal Жыл бұрын
I am a data analyst draw I love how you turn the boring stuff into Data analysis and merge it with web development to make it super interesting
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Streamlit makes it super easy to do so. Thanks for watching the video and taking the time to leave a comment! I appreciate it! 👍
@RawCricketClips
@RawCricketClips 3 жыл бұрын
Thanks a lot brother. I have been trying since around 4-5 hrs. Tried different articles and videos, but goes in vain. Finally tried your method and it works.
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you for watching the video. Gald it was helpful! 😀
@kenkioqqo
@kenkioqqo Жыл бұрын
Super awesome work!!! Coming from a JavaScript background, I have an idea for a data-visualization web app that I want to build with Python and this is just the kind of information I was looking for. So thanks a lot.
@CodingIsFun
@CodingIsFun Жыл бұрын
console.log("Thanks for watching and your kind words"); Happy Coding! :)
@Qashx
@Qashx Жыл бұрын
Thank you for this tutorial,, very helpful and simple,, glad you shoot these errors as i got so many of them,, and it works👍
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@nextdoortechieaminfirnash6002
@nextdoortechieaminfirnash6002 2 жыл бұрын
I was struggling with this requirements.txt file for a day now doing manually and missing libraries. Here you are for the Rescue. Thank you for the video. Subscribed!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad I could help! Thanks for taking the time to leave a comment! :)
@iamhashimirfan
@iamhashimirfan 3 жыл бұрын
Thank you very much for this tutorial! I successfully deployed my app following this
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video. Great to hear that you have successfully deployed your steamlit app to Heroku 😀
@user-fb1ye3oo1h
@user-fb1ye3oo1h 2 жыл бұрын
Sven I recently discovered your channel. My Friend, your videos are amazing. Thanks for sharing :)
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you very much for your kind words! Glad you like the videos. Have a fantastic day! :)
@Vijay-iq1fh
@Vijay-iq1fh 3 жыл бұрын
You are amazing. how nicely you explain everything in so simple way and the best thing is you also told us how to handle errors which is really needed otherwise no use. You solved my problem I was trying to remove my errors but could not and today I came across your video. You are replying to every comment that is really really nice. You deserve more and more subscribers....keep it up. Thanks a billion!
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you so much for watching the video and your kind comment. Glad it was helpful I appreciate that you took the time to give me feedback on the video :) Cheers, Sven
@Vijay-iq1fh
@Vijay-iq1fh 3 жыл бұрын
I did one end to end one project (loan approve or not ). I trained model with logistic regression and the accuracy is 91% in jupyter it was able to correctly classify but when I deployed on heroku it is giving me same class answer no matter what I input the values on app why this is happening,
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@Vijay-iq1fh Unfortunately, it will be tough for me to give you much guidance, as I do not your current code. However, you want to save your ML model in a pickle file (model.pkl) or access it via any cloud provider (AWS, Google, ...) when executing the model. You could also try to have a look at your Heroku logs "heroku logs --tail --app [your heroku app name]"
@johanvanmarsch6425
@johanvanmarsch6425 3 жыл бұрын
Very nice explainations 👍🏽. This can help me a lot for installation. Thank you bro !
@CodingIsFun
@CodingIsFun 3 жыл бұрын
*Thank you for your comment!* Glad it was helpful! 👍😃
@deepanshumolasi7151
@deepanshumolasi7151 2 жыл бұрын
Thanks for the vid mate , just uploaded my webapp on heroku thx to you.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
An absolute pleasure, very happy to hear that you found it useful!
@fauzisafina1827
@fauzisafina1827 2 жыл бұрын
Thangk you so much.. I've been looking for this tutorial and you are very helpful
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked the video! Thanks for watching and your comment :)
@oleksandrarsentiev7152
@oleksandrarsentiev7152 Жыл бұрын
this is pure gold, thank you so much!
@CodingIsFun
@CodingIsFun Жыл бұрын
You're very welcome! Thanks for watching!
@ravindrav1895
@ravindrav1895 2 жыл бұрын
Thank you so so so so so much , this method helped me a lot , keep on sharing your knowledge , it will help lots of people like me
@CodingIsFun
@CodingIsFun 2 жыл бұрын
A pleasure! Thanks for watching the video & leaving a comment! :)
@holickespie1
@holickespie1 2 жыл бұрын
Awesome video, thanks so much. Looking forward to future videos.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked it. Thanks for watching.
@mohammedalbatati5529
@mohammedalbatati5529 3 жыл бұрын
Many thanks, thats a great explination 👍🏽
@CodingIsFun
@CodingIsFun 3 жыл бұрын
*Glad you think so!* Thank you for your comment 😃
@strivebench1673
@strivebench1673 2 жыл бұрын
Just curious, what do you use to capture your screen and do the zooming in zooming out? Do you do it real-time while recording or you do it through your video editing software? Thanks! Great video!!!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
I am using 'Camtasia 2021' from TechSmith to record my screen. Once recorded, I also edit the video with Camtasia (e.g. Zoom effects, transitions, etc.)
@abrammakgalemele3491
@abrammakgalemele3491 2 жыл бұрын
This is superb man. Thank you
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video & taking the time to leave a comment. Glad you found the video helpful! 😃
@tariknavarro87
@tariknavarro87 Жыл бұрын
Great job! Thanks for sharing it!
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching. :)
@user-ie7oi6ng1f
@user-ie7oi6ng1f 11 ай бұрын
VERY NICELY DONE THANK YOU
@CodingIsFun
@CodingIsFun 11 ай бұрын
I'm thrilled you enjoyed it! Thanks for commenting and watching.
@hnclienteshn4501
@hnclienteshn4501 2 жыл бұрын
Thanks for your video tutorials, they are very clear and really helpful, apart from your generosity and clarity. Thank you again
@CodingIsFun
@CodingIsFun 2 жыл бұрын
*Many thanks for the generous feedback!* Glad to hear that you find the videos helpful 😃
@afeezlawal5167
@afeezlawal5167 2 жыл бұрын
@@CodingIsFun hi sir, While deploying, I have an issue of "subprocess-exited-with-error " how can I fix the error please
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@afeezlawal5167, I do not know. You might want to search the internet for this error or check the Heroku error logs
@afeezlawal5167
@afeezlawal5167 2 жыл бұрын
@@CodingIsFun ohp!! I have tried looking for all means sir, I have seen solution sir
@kingleo188
@kingleo188 2 жыл бұрын
Great video.....thanks a million, This has helped me quiet alot.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad it helped! :)
@CharlesBLim
@CharlesBLim 2 жыл бұрын
That ping in the last is great. Thanks for repeating the steps (GIT)
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@ccuny1
@ccuny1 2 жыл бұрын
Just brilliant. Thank you.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you enjoyed it!
@sharans5771
@sharans5771 2 жыл бұрын
You are awsome. Thankyou so much
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you!
@peretsarnaud
@peretsarnaud 2 жыл бұрын
thank you very much, this video is a reference
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad it was helpful! Thanks for watching and taking the time to leave a comment!
@thedebapriyakar
@thedebapriyakar 2 жыл бұрын
ABSOLUTE GODSEND YOU ARE MATE
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you!
@dubey_ji
@dubey_ji Жыл бұрын
man you never disappoint me !!! you are the man !!!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you! 👍
@ashutoshsinghpatel196
@ashutoshsinghpatel196 Жыл бұрын
You earned my respect. +1 subscribe. 🤟
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you and welcome aboard! :)
@agapetv781
@agapetv781 2 жыл бұрын
It works, yes, but after a lot of errors encountered, naturally. Thanks for the video
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Happy to hear that you were able to deploy your app. Thanks for watching! :)
@agapetv781
@agapetv781 2 жыл бұрын
@@CodingIsFun thank you too
@JoaoVictor-sw9go
@JoaoVictor-sw9go 2 жыл бұрын
Thanks for the tutorial! But I have a simple question. When we upload the app to Heroku (or any other hosting service for that matter), is the processing of the app occuring in the users computer on in Heroku (or whatever the hosting service)? I ask that because I am aiming to deploy a pretty complex app and I am wondering if I can just upgrade the processing power with the hosting service or, if the processing is still happening locally, I will be capped by the users computer.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. When deployed on a webserver, the app uses the resources of that server. Hope it helps! Happy Coding!
@learnsharegrowwithgh2181
@learnsharegrowwithgh2181 Жыл бұрын
Well explained and you had done good because you shown the errors so beginners will not stuck if they get any of these errors Thanks for best tutorial 🔥
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you for your kind words! I'm glad that the tutorial was helpful to you and that you found my explanations to be clear. 👍
@learnsharegrowwithgh2181
@learnsharegrowwithgh2181 Жыл бұрын
@@CodingIsFun yes guess what 🤔 I just deploy my first app 🎉🥳 Hurry so happy 🥳🎉 Thanks for tutorial
@learnsharegrowwithgh2181
@learnsharegrowwithgh2181 Жыл бұрын
@@CodingIsFun is it free tu deploy application on the heroku ? Because it's showing $7 per month for Dyno
@CodingIsFun
@CodingIsFun Жыл бұрын
@@learnsharegrowwithgh2181 It was free, but in November, Heroku changed their pricing, and they do not offer the free tier anymore. A free alternative is Render: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html&feature=shares
@learnsharegrowwithgh2181
@learnsharegrowwithgh2181 Жыл бұрын
@@CodingIsFun it's asking me for card details even I am giving details but it's saying no sufficient balance 🥲
@Katsiarina1
@Katsiarina1 Жыл бұрын
Im not an analyst or close but its so cooool!
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment!
@jarosaw4013
@jarosaw4013 2 жыл бұрын
Thx perfect and clear
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked it. Thanks for watching.
@shinrafahell
@shinrafahell 2 жыл бұрын
Great tutorial sir.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! :)
@zulaikhajabbar765
@zulaikhajabbar765 2 жыл бұрын
Thank you so much for this informative tutorial. I have one question: Is there a way to add login credentials layers after deploying app on Heroku. For example if someone access that Heroku app link they first have to enter their login credentials and then access the web app; limiting access to only few selected individuals?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video & your question. Currently, there are a lot of discussions on how to implement a user authentication into a streamlit app: discuss.streamlit.io/t/user-authentication/612 The simplest (but not a very secure way) is to request the user to enter a password to access your streamlit app: access_token = st.text_input(‘Please enter your access token:’) if access_token != ‘your_secret_token’: st.write(‘Sorry, your token is invalid. Please try again or contact the administrator.’) st.stop() I hope this helps! Happy Coding! 😃
@damneddude8299
@damneddude8299 2 жыл бұрын
Thank You!! ❤
@CodingIsFun
@CodingIsFun 2 жыл бұрын
My pleasure. Thanks for watching! :)
@user-qb2nn5uv8v
@user-qb2nn5uv8v Жыл бұрын
I have a .csv file of 135mb that I am using in my streamlit webapp working fine while running on local host but how can I add that file while deploying my webapp online, I cannot add the file in my git repo as it is larger than 25mb
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for tuning in! You could host your large .csv file on a service like Google Drive, get a shareable link, and then read the file directly into a pandas DataFrame using pd.read_csv('url'). Don't forget to use @st.cache_data ( docs.streamlit.io/library/advanced-features/caching#minimal-example ) in Streamlit to speed up data loading after the first run. Happy Coding!
@FilippoGronchi
@FilippoGronchi Жыл бұрын
Hello there, what do you suggest now that Heroku is going to be a paid service by the end of this month? Thanks again
@CodingIsFun
@CodingIsFun Жыл бұрын
One alternative is render. I have already a video on my channel to explain how to deploy a Streamlit app to render.
@idonotcomplyrevolution
@idonotcomplyrevolution 2 жыл бұрын
absolutely loving your tutorials on streamlit, many thanks! could you do a tutorial on fixing dtypes when working with google sheets and python? ive been playing with the gspread module, works great, but google hates dtypes and all cells are defaulted to 'object', could you help us out on this with maybe a video on the subject??? many thanks in advance!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you like the streamlit videos. Thanks for your comment & suggestion.
@kisho2679
@kisho2679 7 ай бұрын
can it be deployed with an FTP software after having set up the connection, simply by drag and drop the files?
@CodingIsFun
@CodingIsFun 7 ай бұрын
You need to have a Python runtime available to run the app. I already have videos on my channel on how to deploy Streamlit apps.
@batmansbodyguard
@batmansbodyguard 11 ай бұрын
Do you do private project consulting? My app deployed but there was an error on the heroic app. My app is different then the one on video from another one of your videos.
@CodingIsFun
@CodingIsFun 11 ай бұрын
Thanks for watching. Yes, I do offer private (paid) consulting. Feel free to reach out to me: contact@pythonandvba.com
@sektorrr
@sektorrr Жыл бұрын
theme is not working while on heroku but it works locally what should i do???
@CodingIsFun
@CodingIsFun Жыл бұрын
Please include the theme in your setup.sh file, like so: www.screencast.com/t/tmbfYXm8p pastebin.com/SKYJJq1x
@gustvsmaia
@gustvsmaia Жыл бұрын
THANK YOU BRO, THANK YOUUUUUUUUUUUUUU
@CodingIsFun
@CodingIsFun Жыл бұрын
You're very welcome! Thank you for watching and for the comment!
@gabrielaquinde3080
@gabrielaquinde3080 Жыл бұрын
Hi, I want to implement my web application. I have trained a model with tensorflow and generated a .hdf5 file. I don't know if it works with my app but I'm going to try it. Thanks for the tutorial.
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching, and good luck with your project! :)
@Shinchanhahahaha
@Shinchanhahahaha Жыл бұрын
This guy is insane he responds to everyone's comment
@CodingIsFun
@CodingIsFun Жыл бұрын
😎😎
@Shinchanhahahaha
@Shinchanhahahaha Жыл бұрын
@@CodingIsFun Sir im really inspired by you , can u tell me that Streamlit can really be overpowered when used correctly like many programmers say u must learn javas and css , can python with streamlit outplay this , please comment
@CodingIsFun
@CodingIsFun Жыл бұрын
@@Shinchanhahahaha I guess it depends on what you want to build. If performance/speed is essential, I suggest using HTML/CSS/JS/(JS Framework).
@Shinchanhahahaha
@Shinchanhahahaha Жыл бұрын
@@CodingIsFun Yes thanks sir for the guidance once again I love your videos and tutorials keep up the great content , Inspiring millions ....
@akashkathole776
@akashkathole776 Жыл бұрын
When My deployment is completed they give a CSS file that is not in the directory .but the app file is run in my spyder idle they run perfectly .please help me .
@CodingIsFun
@CodingIsFun Жыл бұрын
Sorry, but I cannot understand your question or issue. Can you please provide some additional information and take some time to describe what exactly the issue is you are facing. That would be helpful! Thanks!
@omprakashpullarwar1094
@omprakashpullarwar1094 2 жыл бұрын
hey, after I did heroku commit I am getting "Author Identity unknown" can you help me with that?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Did you install git as shown in the video?
@romaingentilhomme7928
@romaingentilhomme7928 2 жыл бұрын
Thanks a lot for this tutorial ! Do you think it's better to deploy a Streamlit app on Heroku rather than on Streamlit cloud directly ? Thanks !
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad you liked it. Whatever you prefer :) Deploying an app on Streamlit seems easier, yet it also includes the "Streamlit branding" in the lower right corner.
@gondalaprasad
@gondalaprasad 23 күн бұрын
Bro, Same type of issue with strealit hosted on streamlit cloud and saying module not found plotly, can you please help?
@CodingIsFun
@CodingIsFun 22 күн бұрын
Please ensure that you include plotly in the requirements file as shown in the video. Thanks! -Sven
@soumyashree2226
@soumyashree2226 2 жыл бұрын
I mistakenly closed the cmd while it was running how to see if my web has been deployed or not?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
You could check within your Heroku account, if the web app has been deployed: dashboard.heroku.com/apps
@junaidlatif2881
@junaidlatif2881 2 жыл бұрын
Very amazing... ❤
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! Cheers!
@757noi6
@757noi6 2 жыл бұрын
Hi i really need your help, it is not related to the streamlit dashboard but an interactive map that I've been working on using folium. I can't seem to deploy it on heroku and I've been stuck for days with an "Application Error" when deployed. May I know where I can reach out to you ?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
I'm not really an expert on Heroku troubleshooting, but I can recommend StackOverflow as a great source of help stackoverflow.com/. Try searching for the text of your error message and if don't find any matches you can post your own question. There are many people there waiting to help!I hope that's useful!
@srisri-tx4fd
@srisri-tx4fd 2 жыл бұрын
hi its a great learning, i would like to know can we deploy real time data recording(every 5 min) in excel sheets using streamlit on to heroku.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video. If you're going to use Excel, you always need to commit/push the changes to heroku. A better solution would be to use a database or Google Sheets. Google sheets has the advantage that it comes with an API. I am also planning to do a video on connecting streamlit with Google sheets in the near future. I hope this helps!
@farorasyid1832
@farorasyid1832 3 жыл бұрын
thank you for this
@CodingIsFun
@CodingIsFun 3 жыл бұрын
A pleasure! Thanks for watching & your comment! 😀
@rshrott
@rshrott 2 жыл бұрын
great video
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you!
@kakkaladeepak632
@kakkaladeepak632 Жыл бұрын
heroku website is asking add payment option whille deploying website what should i do
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. As stated in the pinned comment: Please note that as of November 28, 2022, Heroku is no longer a free option for deploying my Streamlit web app. 🚨 However, fear not! I've got you covered with my tutorial on deploying your Streamlit app on Render. Check out the link here: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
@Michael-yu9ix
@Michael-yu9ix Жыл бұрын
For those that got an error when trying to push, the master branch is no longer called master but main. You will have to use git push heroku main
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your comment. Just a small remark from my side: If not specified in the settings (docs.github.com/en/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization ) the default branch might still be "master". Perhaps you just created a new repo and followed the guided steps from GitHub. By doing so, you are making the main branch (while the default one is 'master') www.screencast.com/t/gvRsONGOSW
@zachlipel3018
@zachlipel3018 2 жыл бұрын
Is it normal for git add . to take a really long time?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Nope, that is not normal :/
@skamosbailan466
@skamosbailan466 2 жыл бұрын
Thank you very much for your tutorial. On the other hand, I have a big problem applying it because every time I try (with the files you shared without modifying anything) I have a heroku error code=H10 desc="App crashed" and I really don't understand why
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching. Regarding your issue: Hard to tell from a distance. As a first starting point, you might want to check your Heroku logs for further information: kzfaq.info/get/bejne/b6eVicV6qK7QnHU.html
@shahinaperveen-yq4pb
@shahinaperveen-yq4pb 9 ай бұрын
Please address my query! Can we deploy the chatbot on our website that is already hosted with Hostinger? I want to add and deploy the chatbot to my website. How can I do it?
@CodingIsFun
@CodingIsFun 9 ай бұрын
Thank you for watching! Unfortunately, the question you asked is not related to the video content. If you have any questions or need help, I suggest you join my Discord channel at pythonandvba.com/discord . Just make sure to read the forum rules before posting any questions.
@ugurselimozen5687
@ugurselimozen5687 3 жыл бұрын
Hi sir, after I deployed my app I am getting this error ; FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Ugur\\Desktop\\Streamlit\\Tickers.csv' but when I run it from with streamlit run , there is no problem with that.What is your suggestion ?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Try to use a relative path instead of an absolute path. For example, by pasting the Tickers.csv file in the root directory of your steamlit app. example folder structure: Streamlit - app.py - Tickers.csv example code in app.py: import pandas as pd pd.read_csv('Tickers.csv') # Instead of: -C:\\Users\\Ugur\\Desktop\\Streamlit\\Tickers.csv'- Hope this helps!
@ugurselimozen5687
@ugurselimozen5687 3 жыл бұрын
@@CodingIsFun It worked clearly , thank you so much :)
@mihairadumazareanu1726
@mihairadumazareanu1726 3 ай бұрын
I can't deploy the app as I am keep getting errors. I have followed every step. Can someone give me a requirements file that work?
@CodingIsFun
@CodingIsFun 3 ай бұрын
Thanks for watching. The error message would be helpful if you need help. Thanks! Cheers, Sven ✌️
@MrCarloshvieira2
@MrCarloshvieira2 Жыл бұрын
Hey there. Heroku announced limitations to their free services last week starting from November 28th. Would you recommend another similar free and easy to use service?
@CodingIsFun
@CodingIsFun Жыл бұрын
I am looking into an alternative solution. Once I find one, I will make another video.
@CodingIsFun
@CodingIsFun Жыл бұрын
Render might be a good alternative for Heroku. Here is a tutorial on how to deploy streamlit to render: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
@lukasgroewestermann1679
@lukasgroewestermann1679 Жыл бұрын
very useful :) Can you show us where the differences are stored on github? Because I don't where the different versions are stored (to get a better understanding of version control)
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. In your GitHub repo, click on commits. Example: www.screencast.com/t/5jXYgjQvgF3j I hope it helps! :)
@lukasgroewestermann1679
@lukasgroewestermann1679 Жыл бұрын
@@CodingIsFun Thanks, I have a problem with the .streamlit/config.toml file, the website does not look as intended. Do you know why?
@jgbalves
@jgbalves Жыл бұрын
Great tutorial! With heroku stop being free, do you suggest other easy options for streamlit deploy? Thanks!!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Once I find a suitable alternative, I will create a video about it.
@CodingIsFun
@CodingIsFun Жыл бұрын
Render might be a good alternative. Here is a tutorial on how to deploy streamlit to render: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
@jackgallagher9126
@jackgallagher9126 Жыл бұрын
Thanks for the great tutorials. In my case the command prompt is not recognizing "heroku login". I get the following error: 'heroku' is not recognizable as an internal or external command, operable program or batch file. Do you know why that would happen?
@CodingIsFun
@CodingIsFun Жыл бұрын
Did you install the Heroku CLI as shown in the video?
@diy__diy
@diy__diy Жыл бұрын
same issue, I found tutorial on stackoverflow and boom it did really work!!!
@MrExcel-hu2ef
@MrExcel-hu2ef 2 жыл бұрын
hello sir, after deploying my app I'm getting this error "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command" please help me out
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Please check the heroku logs for further information
@MrExcel-hu2ef
@MrExcel-hu2ef 2 жыл бұрын
@@CodingIsFun Thank you pls... It has been resolved
@deepkumaradak5559
@deepkumaradak5559 3 жыл бұрын
Helpfull ❤️
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video and for the comment! Glad it was helpful!
@georgecodeing7907
@georgecodeing7907 2 жыл бұрын
thank u for the tutorial but im stuck run the app i get this error after the push is done Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail any help is appreciated
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Kindly check the heroku logs for further details. You can then search for the error message on the internet or stackoverflow
@757noi6
@757noi6 2 жыл бұрын
Why is it that when i deploy my webapp, the theme that I set in the config.toml inside the .streamlit folder doesn't go through, my webapp is still the classic theme
@CodingIsFun
@CodingIsFun 2 жыл бұрын
You need to add your custom theme settings to the setup.sh file
@757noi6
@757noi6 2 жыл бұрын
@@CodingIsFun oh so just copy and paste it to setup.sh?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@757noi6 Yes, here is an example for you: pastebin.com/HwckrYGH
@757noi6
@757noi6 2 жыл бұрын
@@CodingIsFun ahh i see thanks so much!
@sandrafitri4973
@sandrafitri4973 2 жыл бұрын
Halo sir your vidio very awesome
@sandrafitri4973
@sandrafitri4973 2 жыл бұрын
Sir i have problem when the link already done the i access the link but there are error messages "keras requires tensorflow 2.2 or higer... " how to solve this problem? I try put tensorflow 2.2 on requirements.txt file but still error Thankyou sirr
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Sorry, no idea why you are getting this error. You might want to google your error message.
@jqts6490
@jqts6490 2 жыл бұрын
I get a weird error "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail" when i tried that i get this a few time at=error code=H14 desc="No web processes running" I am on a hotel wifi FYI
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Have you checked the logs?
@jqts6490
@jqts6490 2 жыл бұрын
@@CodingIsFun I think I did what you asking. Where we put - - tail app.py right? I get 3 or 4 “router” errors. They are long but all almost say the same thing. I was thinking a firewall issue with the hotel. Yesterday I didn’t try again but I will to tonight. And continue to look through the docs/stack-overflow. The site is there and in my heroku account, I actually deleted it and redid your video to be 100% sure I did not miss anything. Same error out came in.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
​@@jqts6490 Hmm, I cannot help much other than googling the error from the Heroku log. Alternatively, you could try to upload your project to a Github repo and deploy the GitHub repo using Heroku: kzfaq.info/get/bejne/adp7bNR6ydWuZn0.html
@jqts6490
@jqts6490 2 жыл бұрын
@@CodingIsFun thank you! I tried again for about another 30min today and then went to something else. If I found out I’ll let you know what it was
@abdulkadirdemirci3242
@abdulkadirdemirci3242 Жыл бұрын
i got an error when type heroku login. "'heroku' is not recognized as an internal or external command, operable program or batch file." it says. i have installed and got a free heroku account. can you help me ?
@CodingIsFun
@CodingIsFun Жыл бұрын
Did you install the Heroku CLI?
@abdulkadirdemirci3242
@abdulkadirdemirci3242 Жыл бұрын
i got in silly me. i was tring to type heroku login in pycharm terminal but ı had to type it command promt. thx
@abdulkadirdemirci3242
@abdulkadirdemirci3242 Жыл бұрын
@@CodingIsFun yes i have done. thanks for your interest. have good day :D
@joao_ssouza
@joao_ssouza 2 жыл бұрын
Is it nornal for a dapp on Heroku take too long to open? I deployed a dapp and it takes about 30 secs to open.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
8:17 min
@joao_ssouza
@joao_ssouza 2 жыл бұрын
@@CodingIsFun Guess I should've made it to the end, we never know when there'll be a killer tip. Thank you.
@xolanijozi8375
@xolanijozi8375 2 жыл бұрын
Great
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! 👍
@woonie3134
@woonie3134 3 жыл бұрын
I am quite worried because I think skipped when streamlit asked me about the email information. So I dont remember or think I specified an email now I do not know what to put in the setup.sh file. Any idea? :(
@CodingIsFun
@CodingIsFun 3 жыл бұрын
No worries, you do not need to specify the email address in the setup.sh file - it will still work 😉
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun I sat here crying about it!!!!! Do I just leave it like this : email = \"your@domain.com\" or fully empty like this : email = \" \" Or do I not even put that parameter at all?
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Would this be fine : ----------- mkdir -p ~/.streamlit/ echo "\ [server] \ headless = true \ enableCORS=false \ port = $PORT \ " > ~/.streamlit/config.toml
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@woonie3134 I did not try all possible solutions. I usually input it as follows: mkdir -p ~/.streamlit/ echo "\ [general] \ email = \"your-email@domain.com\" \ " > ~/.streamlit/credentials.toml echo "\ [server] \ headless = true \ enableCORS=false \ port = $PORT \ " > ~/.streamlit/config.toml ..as also shown on the Blog Post from Gilbert Tanner: gilberttanner.com/blog/deploying-your-streamlit-dashboard-with-heroku It should work that way :)
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Ahh!! So if I just leave email as it is in your comment it should work? 😁 (without my credentials filled in)
@woonie3134
@woonie3134 3 жыл бұрын
what about cvs file instead of excel? what dependency is that for requirement txt?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
*Hello woonie, thanks for watching the video and your question.* It depends on your specific project. For instance, if you only would like to extract only text from a CSV file to display it on your web app, you could use the built-in Python CSV module [no additional installation required]: docs.python.org/3/library/csv.html Yet, if you want to perform calculations using pandas (like I did in the video), you could read in your data by using pd.read_csv("YOURCSVFILE"). In that case, the requirements would be 'pandas'. Hope it helps. Cheers, Sven ✌
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Oh! I think I just need pandas. But as for the first part that you explained if I just extract text data I do not need to add dependency for that part? All I do in my app is perform the cosine similarity after tokenizing some text data
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@woonie3134 Yes, if you use a Standard Python Module, like 'CSV', you do not need to include it in the requirements.txt file.
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Thanks
@ArunKumar-er5ky
@ArunKumar-er5ky 3 жыл бұрын
It looks I’m having issues with loading data frames, not able to create excel in web app, how to use load data frames?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video. What does the error message say?
@ArunKumar-er5ky
@ArunKumar-er5ky 3 жыл бұрын
No error message, the script is only printing title and message, but not the sheet, I think problem in load data frame function
@ArunKumar-er5ky
@ArunKumar-er5ky 3 жыл бұрын
@@CodingIsFun excel file is not loading after giving variable also exactly from “### --- LOAD DATAFRAME”. Any idea?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@ArunKumar-er5ky Try to change the directory to the current working directory by adding the following code under your imports: import os import sys os.chdir(sys.path[0]) Hope this helps.
@1982vc
@1982vc 3 жыл бұрын
was able to publish but receive an error "AttributeError: 'ElementTree' object has no attribute 'getiterator'"
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video. Was your solution working on a local server (e.g. when you run 'streamlit run appname.py')?
@drewsama488
@drewsama488 3 жыл бұрын
kzfaq.info/get/bejne/brBka7iAsNuZnas.html check that one out
@woonie3134
@woonie3134 3 жыл бұрын
What if we already have the app project folder in vs code connected to a git rep??
@CodingIsFun
@CodingIsFun 3 жыл бұрын
In that case, you do not initialize a new repo ( -git init- ). You could follow the other steps as shown in the video. Navigate in your command prompt to your project folder and type: git add . git commit -m "Enter your message here" git push heroku master heroku ps:scale web=1
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Thanks!! I also noted we can just connect to the git rep in heroku site. That seems easier for me since command line I struggle. I will create the required files push them to the repository and then proceed to use the website heroku to connect to git repository of my project and use for deploying it. That should work too right?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@woonie3134 You are absolutely correct! This should also work 👍
@woonie3134
@woonie3134 3 жыл бұрын
@@CodingIsFun Thank u ☺️
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@woonie3134 Most welcome 😊
@varunsharma7706
@varunsharma7706 3 жыл бұрын
Hey there! I'm getting an application error raise TomlDecodeError("Key name found without value." Please let me know how to solve this error
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video. Quick question: Does your application run locally without errors or are you facing this error *only* when trying to deploy your app to Heroku?
@varunsharma7706
@varunsharma7706 3 жыл бұрын
@@CodingIsFun Yeah it's running perfectly on local server. The problem arises only after deployment. When I checked the logs I got this error "TomlDecodeError("Key name found without value."
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@varunsharma7706 The traceback error log might be longer. Therefore could you kindly copy/paste the full error log into Pastebin and share it here with me? pastebin.com/A8EHyumE As KZfaq removes link in comments, please use let me know your Pastebin ID, e.g. "A8EHyumE"
@Michael-yu9ix
@Michael-yu9ix Жыл бұрын
got h14 error no web processes running. checked the procfile and setup and all is fine...
@CodingIsFun
@CodingIsFun Жыл бұрын
Please check the Heroku Logs for more details
@Michael-yu9ix
@Michael-yu9ix Жыл бұрын
@@CodingIsFun thanks was able to figure it out in the end, but I am getting lots of errors re. library incompatibilities, which I don't understand because there are no conflicts on my local machine using the same library versions.
@CodingIsFun
@CodingIsFun Жыл бұрын
@@Michael-yu9ix I know the pain. Deploying an app can be frustrating
@lightinshort
@lightinshort Жыл бұрын
Thanks a lot for the awesome video. everything has worked correctly but when I go to the deployment link Heroku can't find my app. with the message "There's nothing here, yet. Build something amazing" what should be the Problem please?
@CodingIsFun
@CodingIsFun Жыл бұрын
An absolute pleasure, very happy to hear that you found it useful!
@lightinshort
@lightinshort Жыл бұрын
@@CodingIsFun please, do I need to change something so that Heroku can find my App? i still have this Problem: "There's nothing here, yet. Build something amazing" Thank you.
@CodingIsFun
@CodingIsFun Жыл бұрын
@@lightinshort At which step are you? Kindly provide the timestamp (if you followed along with the tutorial)
@lightinshort
@lightinshort Жыл бұрын
​@@CodingIsFun at 7 : 30 , i resaved this error: } An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail } I can't find exactly the error after runig heroku logs heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico"
@TadBitGains
@TadBitGains 2 жыл бұрын
How can we deploy these apps on a portfolio website for an interactive experience?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
What do you mean by a portfolio website?
@TadBitGains
@TadBitGains 2 жыл бұрын
@@CodingIsFun like a personal website to show your projects to potential employers. I’ll just link the Heroku for now
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@TadBitGains If I understand you correctly, you want to add a custom domain to your Heroku website, like www.tadewos-portfolio.com That is possible. I could recommend Namecheap, for buying a custom domain. After your purchase, you can like the domain to Heroku: www.namecheap.com/support/knowledgebase/article.aspx/9737/2208/pointing-a-domain-to-the-heroku-app/
@Liwan77x
@Liwan77x 3 жыл бұрын
Hi man , i need to ( with python ) get datas of cryptocurrencies from an excel ( i already have those excels ) and then draw a graphic with thise datas and insert that graphic on my web site ( school project ) , can you please help me or give me an idea ?
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Hi there, one possible approach could be to: 1) Read the excel data (cryptocurrencies, dates) by using the pandas library (check out my tutorial on how to read excel files: kzfaq.info/get/bejne/ecySY6SJqNu0oas.html) or any other library, e.g. openpyxl, xlwings, ... 2) Pull the data by using a free API. Here is a great overview of free cryptocurrency API's 👉 github.com/public-apis/public-apis#cryptocurrency 3) Plot the data with Matplotlib, Seaborn, Plotly, ... Hope it helps 🙏 Happy Coding 👩‍💻 Cheers, Sven
@Liwan77x
@Liwan77x 3 жыл бұрын
@@CodingIsFun hi man , first of all i want to thank you for your amazing help ! i did what you toldme and it works very well to plot datas i uses plotly by following your amazing video But in my project, i need to plot in an area and not with candlestick ( need to plot only 2 columns ) what must i change please ? and an other question , since my excels provides me datas from a website and those datas changes every day , how can i update those excels in my code ? without clicking eery time on the '' resfresh " button in excel , is there any function or something in python ? can you please help me or give me some idea ? Cheers
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@Liwan77x Glad it was helpful. For the area chart, please have look at the plotly express example (documentation) here: plotly.com/python/filled-area-plots/ Sounds like you are using a data Query in Excel?! If so, you could try the following Python Code to refresh the data query: import win32com.client xlapp = win32com.client.DispatchEx("Excel.Application") wb = xlapp.Workbooks.Open() wb.RefreshAll() xlapp.CalculateUntilAsyncQueriesDone() wb.Save() xlapp.Quit()
@Liwan77x
@Liwan77x 3 жыл бұрын
@@CodingIsFun Hi Sven , You are amzing man !! i applied what you told me and it works so good thanks to you , i almost finished my project !! Last thing that i need to do is to add some technical indicators ( like Bollinger band for example ) to the graph that i ploted Do you have some notions or advices or some tutorial to give me about that please ? Thanks a lot for your help man , and sorry for annoying you with my multiple questions Cheers
@CodingIsFun
@CodingIsFun 3 жыл бұрын
@@Liwan77x Cool to hear that it was working. I assume you have plotted your graphs in Plotly Express. As you might know, Plotly Express is more like a higher-level API for the Plotly Charts. If you want to have more customization options, I would recommend you to use the plotly.graph_objects, for the area chart, you can find at the bottom of the page: plotly.com/python/filled-area-plots/ You could then add further 'traces', e.g. Line, Text, Scatter plots to your area chart. Here are also some examples: plotly.com/python/text-and-annotations/ Hope it helps 🙏 & Happy Coding 👩‍💻
@raceup
@raceup Жыл бұрын
heroku is not free anymore.. so any alternative options?
@CodingIsFun
@CodingIsFun Жыл бұрын
Please read the pinned comment, thanks!
@raceup
@raceup Жыл бұрын
@@CodingIsFun oh sorry.. thanks
@Funnyvideos-vy6gz
@Funnyvideos-vy6gz Жыл бұрын
Hi sir, how to deploy in cpanel. Please help to know
@CodingIsFun
@CodingIsFun Жыл бұрын
Deploying Streamlit on a cPanel isn't a direct process because cPanel is primarily a web hosting control panel designed for traditional web hosting scenarios. It doesn't inherently support Python applications like Streamlit out of the box.
@757noi6
@757noi6 2 жыл бұрын
Also, why is it that the web app is not loading when I click it on my phone
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Maybe because of this 8:20 min?
@757noi6
@757noi6 2 жыл бұрын
@@CodingIsFun ohhh because its the free version
@757noi6
@757noi6 2 жыл бұрын
@@CodingIsFun thansk man!
@jenirex1944
@jenirex1944 Жыл бұрын
how to rectify h14 error
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Unfortunately, with that bit of information, I cannot help you. You might want to take some time to write down the exact error message. Also, have you tried to access the Heroku logs for more detailed information? Thanks!
@patrickcavins3231
@patrickcavins3231 3 жыл бұрын
Great video! I did run into an error when I tried git push heroku master and then tried the link to my website. Aftering running heroku logs --tail . I saw › Error: Missing required flag: › -a, --app APP app to run command against › See more help with --help
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thanks for watching the video. Did you run "Heroku run -a YOUR_APP_NAME_HERE"? If so, make sure to include the Heroku app name in the command. Perhaps the following StackOverflow post might help you: stackoverflow.com/questions/51815542/heroku-missing-required-flag-a
@drewsama488
@drewsama488 3 жыл бұрын
kzfaq.info/get/bejne/brBka7iAsNuZnas.html check that one out
@dev_invc
@dev_invc 2 жыл бұрын
Gettin the error: Could not build wheels for numpy , which is required to install pyproject.toml-based projects
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Try to use a different/newer version of NumPy (in the requirements.txt file)
@dev_invc
@dev_invc 2 жыл бұрын
@@CodingIsFun I am currently using version 1.20.3 ...shall i put greater than> ?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@dev_invc You need to try it out, as I do not know your other dependencies. The latest version is NumPy 1.22.4; you might want to use
@dev_invc
@dev_invc 2 жыл бұрын
@@CodingIsFun Thankyou it worked! The app got deployed. but the link is not opening in browser and saying application error...
@dev_invc
@dev_invc 2 жыл бұрын
@@CodingIsFun I have followed each of your step yet there is an error popping up
@sandeeprajakrishnan7496
@sandeeprajakrishnan7496 2 жыл бұрын
My Streamlit app is stuck on connecting to streamline , please wait is displayed on screen, what to do
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thanks for watching the video. Sorry, but I am not quite sure what you mean by 'connecting to streamline'. This video is all about uploading your (fully functional) streamlit app to Heroku.
@sandeeprajakrishnan7496
@sandeeprajakrishnan7496 2 жыл бұрын
@@CodingIsFun hey , my app is running perfectly on local host , I followed your steps and deployed it, when I go to the link , it says Please wait... and gives connection timed out error after some time
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@sandeeprajakrishnan7496 Could you please type the following into your command prompt/terminal: heroku logs --tail --app [your heroku app name] example: heroku logs --tail --app myawesomeapp Kindly check out the error message you receive via the log.
@sandeeprajakrishnan7496
@sandeeprajakrishnan7496 2 жыл бұрын
@@CodingIsFun hey , can I connect with you somewhere I can send you images of the logs, please help me out I have an assignment due
@sandeeprajakrishnan7496
@sandeeprajakrishnan7496 2 жыл бұрын
@@CodingIsFun the Web app shows a blue box with text please wait... on the right top corner I see connecting to streamlit
@DrinkTea-healthy
@DrinkTea-healthy Жыл бұрын
Not sure, but seems from my account that heroku is not free anymore
@CodingIsFun
@CodingIsFun Жыл бұрын
As of November 28, 2022, Heroku is no longer a free option for deploying my Streamlit web app. However, fear not! I've got you covered with my tutorial on deploying your Streamlit app on Render. Check out the link here: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
@sandrafitri4973
@sandrafitri4973 2 жыл бұрын
Halo sir, how to solve the problem for slug is too large?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
That is not an easy question, as it depends on your application. Perhaps you are trying to upload large files. The Heroku slug limit is 500 MB.
@sandrafitri4973
@sandrafitri4973 2 жыл бұрын
Tq sir. Any suggestion to develop my applications except heroku?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
@@sandrafitri4973 Streamlit recently rolled out their (free) deployment feature. Find more info here: streamlit.io/cloud Alternatively, you might want to consider restructuring your application. E.g. if you rely on heavy files, DL/ML models, etc., host those on AWS S3 and connect your Frontend (Streamlit) via API / Get request. Happy Coding! 🎉
@sandrafitri4973
@sandrafitri4973 2 жыл бұрын
@@CodingIsFun god bless uuuuu u r amazing. Thankyou so much sir!!!
@giovannigentile1302
@giovannigentile1302 Жыл бұрын
hello, i have follow your tutorial but heroku say application error... Why?
@CodingIsFun
@CodingIsFun Жыл бұрын
Please check the logs
@giovannigentile1302
@giovannigentile1302 Жыл бұрын
@@CodingIsFun i had checked
@CodingIsFun
@CodingIsFun Жыл бұрын
@@giovannigentile1302 and what does it say?
@giovannigentile1302
@giovannigentile1302 Жыл бұрын
@@CodingIsFun File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script exec(code, module.__dict__) File "/app/test_stramlit/app.py", line 6, in from tkinter.tix import COLUMN File "/usr/local/lib/python3.9/tkinter/__init__.py", line 37, in import _tkinter # If this fails your Python may not be configured for Tk
@CodingIsFun
@CodingIsFun Жыл бұрын
@@giovannigentile1302 Are you sure you want to use Tkinter for a web app? Line 6: from tkinter.tix import COLUMN Does your code run locally?
@rshrott
@rshrott Жыл бұрын
streamlit isn't free anymore :(
@CodingIsFun
@CodingIsFun Жыл бұрын
Streamlit is free, but Heroku will not be free anymore
@CodingIsFun
@CodingIsFun Жыл бұрын
Render might be a good alternative for Heroku. Here is a tutorial on how to deploy streamlit to render: kzfaq.info/get/bejne/arl_ZqaGvLa9lmQ.html
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 92 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 32 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 10 МЛН
Deploy Your Streamlit App To Render (Free Heroku Alternative)
9:51
Coding Is Fun
Рет қаралды 61 М.
Deploy Your AI Streamlit App for FREE | Step-by-Step (Heroku Alternative)
30:10
Alejandro AO - Software & Ai
Рет қаралды 17 М.
The Streamlit Epic Overview (part 1/2)
13:06
Fanilo Andrianasolo
Рет қаралды 52 М.
How to Convert a Streamlit App to an .EXE Executable
8:20
Fanilo Andrianasolo
Рет қаралды 41 М.
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 254 М.
Deploy a Streamlit application on Google Cloud Run - all you need to know
19:19
Deploy Streamlit WebApp ML Models In Heroku(PAAS)- Data Science
13:28
How to Deploy a Streamlit App - Part 4
10:58
Mısra Turp
Рет қаралды 35 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН