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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 355

  • @CodingIsFun
    @CodingIsFun  ปีที่แล้ว +9

    🚨 *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: th-cam.com/video/4SO3CUWPYf0/w-d-xo.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 : 👑

  • @raedokal
    @raedokal 2 ปีที่แล้ว +3

    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  2 ปีที่แล้ว +2

      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! 👍

  • @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!*

  • @theresebd8077
    @theresebd8077 3 ปีที่แล้ว +4

    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) :)

  • @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! 😀

  • @publicreviewer7187
    @publicreviewer7187 2 ปีที่แล้ว +1

    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! 🙏

  • @CharlesBLim
    @CharlesBLim 2 ปีที่แล้ว

    That ping in the last is great. Thanks for repeating the steps (GIT)

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      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! :)

  • @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 ปีที่แล้ว +1

      @@CodingIsFun thank you too

  • @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 😀

  • @Michael-yu9ix
    @Michael-yu9ix 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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

  • @Qashx
    @Qashx 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +1

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @Shinchanhahahaha
    @Shinchanhahahaha 2 ปีที่แล้ว

    This guy is insane he responds to everyone's comment

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      😎😎

    • @Shinchanhahahaha
      @Shinchanhahahaha 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว

      @@CodingIsFun Yes thanks sir for the guidance once again I love your videos and tutorials keep up the great content , Inspiring millions ....

  • @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 ปีที่แล้ว +1

      @@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]"

  • @deepanshumolasi7151
    @deepanshumolasi7151 2 ปีที่แล้ว

    Thanks for the vid mate , just uploaded my webapp on heroku thx to you.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      An absolute pleasure, very happy to hear that you found it useful!

  • @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 ปีที่แล้ว +3

      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.)

  • @thedebapriyakar
    @thedebapriyakar 2 ปีที่แล้ว

    ABSOLUTE GODSEND YOU ARE MATE

  • @oleksandrarsentiev7152
    @oleksandrarsentiev7152 2 ปีที่แล้ว

    this is pure gold, thank you so much!

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      You're very welcome! Thanks for watching!

  • @ΕλεσαΜαρου
    @ΕλεσαΜαρου 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! :)

  • @dubey_ji
    @dubey_ji 2 ปีที่แล้ว

    man you never disappoint me !!! you are the man !!!

  • @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  ปีที่แล้ว +1

      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  ปีที่แล้ว +1

      @@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: th-cam.com/video/4SO3CUWPYf0/w-d-xo.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 🥲

  • @fauzisafina1827
    @fauzisafina1827 3 ปีที่แล้ว

    Thangk you so much.. I've been looking for this tutorial and you are very helpful

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      Glad you liked the video! Thanks for watching and your comment :)

  • @kenkioqqo
    @kenkioqqo 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      console.log("Thanks for watching and your kind words");
      Happy Coding! :)

  • @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 ปีที่แล้ว +1

      Thanks for watching. When deployed on a webserver, the app uses the resources of that server. Hope it helps! Happy Coding!

  • @holickespie1
    @holickespie1 2 ปีที่แล้ว

    Awesome video, thanks so much. Looking forward to future videos.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Glad you liked it. 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 ปีที่แล้ว +1

      A pleasure! Thanks for watching the video & leaving a comment! :)

  • @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! 😃

  • @Katsiarina1
    @Katsiarina1 2 ปีที่แล้ว

    Im not an analyst or close but its so cooool!

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Glad you liked it. Thanks for watching and taking the time to leave a comment!

  • @tariknavarro87
    @tariknavarro87 2 ปีที่แล้ว

    Great job! Thanks for sharing it!

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Glad you liked it. Thanks for watching. :)

  • @FilippoGronchi
    @FilippoGronchi 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      One alternative is render. I have already a video on my channel to explain how to deploy a Streamlit app to render.

  • @zulaikhajabbar765
    @zulaikhajabbar765 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      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! 😃

  • @VaroujanKhorozian
    @VaroujanKhorozian ปีที่แล้ว

    VERY NICELY DONE THANK YOU

    • @CodingIsFun
      @CodingIsFun  ปีที่แล้ว

      I'm thrilled you enjoyed it! Thanks for commenting and watching.

  • @ccuny1
    @ccuny1 2 ปีที่แล้ว

    Just brilliant. Thank you.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Glad you enjoyed it!

  • @jgbalves
    @jgbalves 2 ปีที่แล้ว

    Great tutorial! With heroku stop being free, do you suggest other easy options for streamlit deploy? Thanks!!

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +2

      Thanks for watching. Once I find a suitable alternative, I will create a video about it.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Render might be a good alternative. Here is a tutorial on how to deploy streamlit to render: th-cam.com/video/4SO3CUWPYf0/w-d-xo.html

  • @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! 👍😃

  • @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 ปีที่แล้ว +1

      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.

  • @ashutoshsinghpatel196
    @ashutoshsinghpatel196 ปีที่แล้ว

    You earned my respect. +1 subscribe. 🤟

    • @CodingIsFun
      @CodingIsFun  ปีที่แล้ว

      Thank you and welcome aboard! :)

  • @gabrielaquinde3080
    @gabrielaquinde3080 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      Thanks for watching, and good luck with your project! :)

  • @jqts6490
    @jqts6490 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว +1

      Have you checked the logs?

    • @jqts6490
      @jqts6490 3 ปีที่แล้ว

      @@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  3 ปีที่แล้ว +1

      ​@@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:
      th-cam.com/video/3tK9qIdoJ6I/w-d-xo.html

    • @jqts6490
      @jqts6490 3 ปีที่แล้ว

      @@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

  • @kingleo188
    @kingleo188 2 ปีที่แล้ว

    Great video.....thanks a million, This has helped me quiet alot.

  • @srisri-tx4fd
    @srisri-tx4fd 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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!

  • @shinrafahell
    @shinrafahell 3 ปีที่แล้ว

    Great tutorial sir.

  • @sharans5771
    @sharans5771 2 ปีที่แล้ว

    You are awsome. Thankyou so much

  • @mohammedalbatati5529
    @mohammedalbatati5529 3 ปีที่แล้ว

    Many thanks, thats a great explination 👍🏽

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      *Glad you think so!* Thank you for your comment 😃

  • @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!

  • @MrCarloshvieira2
    @MrCarloshvieira2 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +2

      I am looking into an alternative solution. Once I find one, I will make another video.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      Render might be a good alternative for Heroku. Here is a tutorial on how to deploy streamlit to render: th-cam.com/video/4SO3CUWPYf0/w-d-xo.html

  • @kisho2679
    @kisho2679 10 หลายเดือนก่อน

    can it be deployed with an FTP software after having set up the connection, simply by drag and drop the files?

    • @CodingIsFun
      @CodingIsFun  10 หลายเดือนก่อน

      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.

  • @hnclienteshn4501
    @hnclienteshn4501 3 ปีที่แล้ว

    Thanks for your video tutorials, they are very clear and really helpful, apart from your generosity and clarity. Thank you again

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      *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

  • @batmansbodyguard
    @batmansbodyguard ปีที่แล้ว

    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  ปีที่แล้ว

      Thanks for watching. Yes, I do offer private (paid) consulting. Feel free to reach out to me: contact@pythonandvba.com

  • @Withshahina
    @Withshahina ปีที่แล้ว

    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  ปีที่แล้ว

      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.

  • @jarosaw4013
    @jarosaw4013 2 ปีที่แล้ว

    Thx perfect and clear

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Glad you liked it. Thanks for watching.

  • @gustvsmaia
    @gustvsmaia 2 ปีที่แล้ว

    THANK YOU BRO, THANK YOUUUUUUUUUUUUUU

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      You're very welcome! Thank you for watching and for the comment!

  • @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 ปีที่แล้ว +1

      Glad you like the streamlit videos. Thanks for your comment & suggestion.

  • @lukasgroewestermann1679
    @lukasgroewestermann1679 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +1

      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?

  • @jackgallagher9126
    @jackgallagher9126 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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!!!

  • @DebjitSingharoy-e7c
    @DebjitSingharoy-e7c ปีที่แล้ว

    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!

  • @damneddude8299
    @damneddude8299 2 ปีที่แล้ว

    Thank You!! ❤

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      My pleasure. Thanks for watching! :)

  • @junaidlatif2881
    @junaidlatif2881 2 ปีที่แล้ว

    Very amazing... ❤

  • @akashkathole776
    @akashkathole776 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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!

  • @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: th-cam.com/video/9AeVbICHllA/w-d-xo.html

  • @gondalaprasad
    @gondalaprasad 4 หลายเดือนก่อน

    Bro, Same type of issue with strealit hosted on streamlit cloud and saying module not found plotly, can you please help?

    • @CodingIsFun
      @CodingIsFun  4 หลายเดือนก่อน

      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

  • @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!

  • @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

  • @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 ปีที่แล้ว +1

      @@CodingIsFun Thank you pls... It has been resolved

  • @lightinshort
    @lightinshort 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      An absolute pleasure, very happy to hear that you found it useful!

    • @lightinshort
      @lightinshort 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว

      @@lightinshort At which step are you? Kindly provide the timestamp (if you followed along with the tutorial)

    • @lightinshort
      @lightinshort 2 ปีที่แล้ว

      ​@@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"

  • @farorasyid1832
    @farorasyid1832 3 ปีที่แล้ว

    thank you for this

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      A pleasure! Thanks for watching & your comment! 😀

  • @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.

  • @rshrott
    @rshrott 2 ปีที่แล้ว

    great video

  • @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: th-cam.com/video/4SO3CUWPYf0/w-d-xo.html

  • @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 ปีที่แล้ว +1

      8:17 min

    • @joao_ssouza
      @joao_ssouza 2 ปีที่แล้ว +1

      @@CodingIsFun Guess I should've made it to the end, we never know when there'll be a killer tip. Thank you.

  • @woonie3134
    @woonie3134 3 ปีที่แล้ว

    what about cvs file instead of excel? what dependency is that for requirement txt?

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว +1

      *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 ปีที่แล้ว +1

      @@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

  • @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?

  • @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 ปีที่แล้ว +1

      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 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      Thanks for watching. The error message would be helpful if you need help. Thanks! Cheers, Sven ✌️

  • @TadBitGains
    @TadBitGains 2 ปีที่แล้ว

    How can we deploy these apps on a portfolio website for an interactive experience?

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      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/

  • @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 ปีที่แล้ว +1

      @@CodingIsFun ahh i see thanks so much!

  • @zachlipel3018
    @zachlipel3018 2 ปีที่แล้ว

    Is it normal for git add . to take a really long time?

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Nope, that is not normal :/

  • @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 ปีที่แล้ว

      th-cam.com/video/8J48UOKu5mw/w-d-xo.html check that one out

  • @deepkumaradak5559
    @deepkumaradak5559 3 ปีที่แล้ว

    Helpfull ❤️

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      Thanks for watching the video and for the comment! Glad it was helpful!

  • @abdulkadirdemirci3242
    @abdulkadirdemirci3242 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      Did you install the Heroku CLI?

    • @abdulkadirdemirci3242
      @abdulkadirdemirci3242 2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @@CodingIsFun yes i have done. thanks for your interest. have good day :D

  • @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 ปีที่แล้ว +1

      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.

  • @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 ปีที่แล้ว

      th-cam.com/video/8J48UOKu5mw/w-d-xo.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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@woonie3134 You are absolutely correct! This should also work 👍

    • @woonie3134
      @woonie3134 3 ปีที่แล้ว +1

      @@CodingIsFun Thank u ☺️

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      @@woonie3134 Most welcome 😊

  • @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.

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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)

  • @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

  • @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 ปีที่แล้ว +1

      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 TH-cam removes link in comments, please use let me know your Pastebin ID, e.g. "A8EHyumE"

  • @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 ปีที่แล้ว +1

      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: th-cam.com/video/Cfb0AXCuPqw/w-d-xo.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 ปีที่แล้ว +1

      @@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 👩‍💻

  • @sharanbabu2001
    @sharanbabu2001 2 ปีที่แล้ว

    How to connect this to a custom domain with HTTPS?

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Have a look here: help.heroku.com/MTG1BIA7/how-do-i-connect-a-domain-to-my-heroku-app

    • @sharanbabu2001
      @sharanbabu2001 2 ปีที่แล้ว

      @@CodingIsFun thanks!

  • @757noi6
    @757noi6 2 ปีที่แล้ว

    Also, why is it that the web app is not loading when I click it on my phone

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว +1

      Maybe because of this 8:20 min?

    • @757noi6
      @757noi6 2 ปีที่แล้ว +1

      @@CodingIsFun ohhh because its the free version

    • @757noi6
      @757noi6 2 ปีที่แล้ว

      @@CodingIsFun thansk man!

  • @sandeeprajakrishnan7496
    @sandeeprajakrishnan7496 3 ปีที่แล้ว

    My Streamlit app is stuck on connecting to streamline , please wait is displayed on screen, what to do

    • @CodingIsFun
      @CodingIsFun  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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  3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

      @@CodingIsFun the Web app shows a blue box with text please wait... on the right top corner I see connecting to streamlit

  • @brunozaratecasallo8637
    @brunozaratecasallo8637 2 ปีที่แล้ว

    Thank you really much. I got stucked in step 7 from the blog. When I put heroku ps:scale web=1, I get this: Couldn't find that process type (web). I've been searching for a solution but so far did not succeed.

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Thanks for watching. Have you also deployed the Procfile? If not, this might be causing the issue, see here: help.heroku.com/W23OAFGK/why-am-i-seeing-couldn-t-find-that-process-type-when-trying-to-scale-dynos

  • @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 ปีที่แล้ว +1

      @@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

  • @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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@CodingIsFun god bless uuuuu u r amazing. Thankyou so much sir!!!

  • @xolanijozi8375
    @xolanijozi8375 2 ปีที่แล้ว

    Great

  • @jenirex1944
    @jenirex1944 2 ปีที่แล้ว

    how to rectify h14 error

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      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!

  • @giovannigentile1302
    @giovannigentile1302 2 ปีที่แล้ว

    hello, i have follow your tutorial but heroku say application error... Why?

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Please check the logs

    • @giovannigentile1302
      @giovannigentile1302 2 ปีที่แล้ว

      @@CodingIsFun i had checked

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      @@giovannigentile1302 and what does it say?

    • @giovannigentile1302
      @giovannigentile1302 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว

    streamlit isn't free anymore :(

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Streamlit is free, but Heroku will not be free anymore

    • @CodingIsFun
      @CodingIsFun  2 ปีที่แล้ว

      Render might be a good alternative for Heroku. Here is a tutorial on how to deploy streamlit to render: th-cam.com/video/4SO3CUWPYf0/w-d-xo.html

  • @davidcalebpaterson7101
    @davidcalebpaterson7101 ปีที่แล้ว

    I have my own cloud at home