Deploy Your Streamlit App To Render (Free Heroku Alternative)

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

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

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

    *Happy Deployment!* 🚀
    *LINKS:* ⤵
    🌟 Create a digital CV: th-cam.com/video/BXAeMICmUSQ/w-d-xo.html
    🌟 Download Git: git-scm.com/downloads
    🌟 Render Website: render.com/
    *GIT COMMANDS:* ⤵
    git add .
    git commit -m "Your Message"
    git remote add origin github.com/[GitHubUserName]/[RepoName].git
    git push -u origin master

  • @Ron-tp7em
    @Ron-tp7em 2 ปีที่แล้ว +6

    Great video👍What's the best way to deploy a streamlit app privately, giving access only to select users?

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

      Thank you! One option would be to use the "streamlit authenticator package" as shown here: th-cam.com/video/eCbH2nPL9sU/w-d-xo.html
      Happy Coding!

    • @Ron-tp7em
      @Ron-tp7em 2 ปีที่แล้ว

      @@CodingIsFun Thank you so much for your quick reply. That's super helpful. Keep up the good work!

  • @nikhildaram3354
    @nikhildaram3354 11 หลายเดือนก่อน +1

    after deployment this error will occurring cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py)
    how can i solve this error

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

  • @963seeker
    @963seeker 10 หลายเดือนก่อน +3

    Streamlit cloud deployments is now requiring full access to all your repos including private ones. I guess snowflake is training their models on all repos they can get access too without paying anything to the devs

    • @seththunder2077
      @seththunder2077 5 หลายเดือนก่อน

      Where do you recommend to deploy? Im new to this

    • @jahunmoayedzadeh9194
      @jahunmoayedzadeh9194 5 หลายเดือนก่อน

      😮

    • @imamkusnendar3078
      @imamkusnendar3078 2 หลายเดือนก่อน

      Buy hosting as one of investement to your journey learning.

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

    Thank you, Sven for uploading this great tutorial. Fantastic explanation as always on every videos.
    I'd followed along the tutorial, Deploy live was successful however got an error while clicking on the link "No such file or directory: '/opt/render/project/src/assets/CV.pdf'. Any help would be greatly appreciated. Thanks again for sharing these contents.

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

      Thank you for the kind words.
      Regarding your issue, please ensure to use relative filepaths.
      Example:
      ✅ DO:
      from pathlib import Path
      current_dir = Path(__file__).parent if "__file__" in locals() else Path.cwd()
      CV = current_dir / "assets" / "CV.pdf"
      ⛔ DO NOT:
      CV = r"C:/UserName/project/src/assets/CV.pdf"

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

      @@CodingIsFun Thanks alot for your prompt response. Feels great to be a part of this channel.

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

    You're awesome

  • @arnoldtvisagie
    @arnoldtvisagie ปีที่แล้ว +8

    I know you can't go through all the details. For a first-time programmer, I ran into a lot of challenges regarding cmd and some of the commands. I had to do additional research on how to solve some of these errors I faced. Overall, I learned a lot from you. I just want to say thank you for taking the time to teach us your skills.
    PS: My website is just now being built in Render, very excited to see what it looks like.

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

      Hi Arnoldt Visagie. Thanks for watching. Glad to hear that the tutorial was helpful! :)

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

    Hi Sven, thank you for this incredible tutorial
    I am trying to deploy a multi-webpage app
    However, i have waited like 20min and i only see the first page (homepage), i have two pages more , one with my projects and contact page
    Do we need to do something different in the process to see all pages?
    Thanks

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

      Thanks for watching.
      I took the time and tested it out for you. I followed the exact steps and it works: multipage-example.onrender.com/
      I have used this example: github.com/Sven-Bo/streamlit-multipage-app-example

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

      @@CodingIsFun Thank yo so much for your prompt response! Incredible channel.

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

      @@CodingIsFun Hi Sven, i have a question. How can i add in the second page ( portfolio) a dataframe and also plotly graphics? I tried but i have an error: "FileNotFoundError: [Errno 2] No such file or directory: " i have the file saved in the folder but it's not working :( . Thank you

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

      @@InteligenciadeNegocios Hard to tell from a distance. Sorry that I cannot help

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

    Really a good video, was fearing what to do? As i need to put deployed link in my resume. So thanks for it, i hope render does NOT cut free tire.

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

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

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

    I have a problem when i deploy the deep learning model in render as Falsk web application.
    i am getting the error OSError: Unable to open file (file signature not found)
    Kindly assist me.
    Jan 5 03:55:02 AM Traceback (most recent call last):
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
    Jan 5 03:55:02 AM response = self.full_dispatch_request()
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
    Jan 5 03:55:02 AM rv = self.handle_user_exception(e)
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
    Jan 5 03:55:02 AM rv = self.dispatch_request()
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
    Jan 5 03:55:02 AM return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    Jan 5 03:55:02 AM File "app.py", line 36, in predictRoute
    Jan 5 03:55:02 AM result = clApp.classifier.predictiondogcat()
    Jan 5 03:55:02 AM File "/opt/render/project/src/predict.py", line 27, in predictiondogcat
    Jan 5 03:55:02 AM model = load_model('Fibrosis_ResNet19_Model.h5')
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/keras/utils/traceback_utils.py", line 67, in error_handler
    Jan 5 03:55:02 AM raise e.with_traceback(filtered_tb) from None
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/h5py/_hl/files.py", line 533, in __init__
    Jan 5 03:55:02 AM fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
    Jan 5 03:55:02 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/h5py/_hl/files.py", line 226, in make_fid
    Jan 5 03:55:02 AM fid = h5f.open(name, flags, fapl=fapl)
    Jan 5 03:55:02 AM File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
    Jan 5 03:55:02 AM File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
    Jan 5 03:55:02 AM File "h5py/h5f.pyx", line 106, in h5py.h5f.open
    Jan 5 03:55:02 AM OSError: Unable to open file (file signature not found)

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

  • @aeflorat
    @aeflorat 3 หลายเดือนก่อน

    Thank you Sven! I did my website and it is up and running. Do you have a video on how to change the description of the website? The one that shows when you google it "$domain$ is your first and best source for all of the information you're looking for. From general topics to more of what you would expect to find here, .... " Or how to add keywords that make the website appear when you search for its content? Thank you!

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

      Thanks for tuning in! Currently, adding a meta description is not natively supported by Streamlit, at least from what I understand. You can read more about this in the following discussion: discuss.streamlit.io/t/adding-a-meta-description-to-your-streamlit-app/17847/21
      Cheers, Sven ✌️

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

    Fantastic tutorial as always! Thank you!

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

      Happy to hear that you enjoyed this one too! Thanks for watching! :)

  • @MukeshYadav-wb5uo
    @MukeshYadav-wb5uo ปีที่แล้ว +1

    it was very helpful video. I came to learn deployment in render but you also taught me git. Thank you so much and lots of love from india.

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

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

  • @nathankwon3042
    @nathankwon3042 5 หลายเดือนก่อน

    Thanks for the awesome video! I deployed the website, and it works well on laptop. The problem is, it's not working on Mobile!! I only see white screen on the screen.. Anyone has a same problem?

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

  • @MohdAamer-z9l
    @MohdAamer-z9l 2 หลายเดือนก่อน

    Is it only for static websites? I have created an ML project but it's just loading and I can't see anything. What might be the reason behind this?

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

      Thanks for watching. No, it is not only for static websites. Regarding your error, please check the logs as shown in the video. Cheers, Sven ✌️

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

    Okay why does this channel has so less subscribers? I am not being paid by this man, but I seriously suggest everyone to take a look at all his videos.

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

      Ah, you're making me blush! ♥ Thanks for the kind comment and happy to hear that you're enjoying the videos! 👍

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

      @@CodingIsFun looking forward to a new video!

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

    Creator I'll take off the hat 🌹🌹

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

      Glad you liked it. Thanks for watching.

  • @PassportPair
    @PassportPair 6 หลายเดือนก่อน

    Great tutorial. One question though, can I use a private repository instead of a public one to use Render?

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

      Thank you for the positive feedback. Yes, I believe that should be possible: docs.render.com/github. Happy deployment! Cheers, Sven ✌️

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

    How do I add the streamlit secrets file to the app on render? Usually I would not have it on my GitHub since I will just add it to gitignore.

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

      Instead of the streamlit secrets file, you would use environment variables and input those into Render

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

    I already signed up on Render, but it require credit card to continue. And I dont have free plan option. I'm a bit confused here. Or is there any limitations in some country? Any clue, please?

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

      That's strange. You might want to contact the render support team

    • @irmakaleem1670
      @irmakaleem1670 7 หลายเดือนก่อน

      I'm facing the same problem. Have you found any solution?

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

    Sven, I've tried it all but cannot do it... tried to add the files using git, followed all the steps, but it shows a fatal error when I try to upload the files from GitHub, I've already generated the token for the authentication, but no success... trined to upload the files manually but the hidden files do not upload... really frustrating... Can you help?

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

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

      @@CodingIsFun but do you know a way to load the hidden files up to GitHub on a Mac? This would solve the issue.

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

      @@Vlapstone Sorry, but I do not use Mac

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

      @@CodingIsFun no worries mate! I’ll try and do it on a windows pc then. Thanks a lot.

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

    Great videos ! This does not work for me :(. The logs are ok but a get a message 'Failed'

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

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

      same here...the problem is that I cannot see the issues... log file is not showing anything! don't know how to fix it

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

      @@FilippoGronchi Same answer. Not sure how I can help without any error message. I have now hosted several streamlit websites on render without any issues. You might want to contact the render support team to see the logs.

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

      I ran into the same issue, then I went to settings>Build & Deploy>Root Directory and specified the root folder, which was in my case just the root folder ".", and now it is running successfully, BTW, I tried similar steps with railway .app and it went successfully as well.

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

      @@ahmadkhaled4751 that is a very good suggestion, thanks a lot. I didn't what to fill into that field and left it empty. But I just tried entering a "." and did not work either :(

  • @Joshuamakondo8884
    @Joshuamakondo8884 7 หลายเดือนก่อน

    Is there a way of adding meta description to streamlit apps??

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

      Thanks for watching.
      Please check out the following discussion: discuss.streamlit.io/t/adding-a-meta-description-to-your-streamlit-app/17847/14
      I hope it helps! Cheers, Sven ✌️

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

    Great! I love it! 🍌🌴♥

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

      Thank you, Patricio! :)

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

    Hi,
    I have evrything set up on guithub (including requirements.txt) and i've deployed my streamit app on streamlit cloud and was working fine till date .
    But now it suddenly throws an error that says data is not downloading from yfinance module .
    Please give solution to this issue as i have to submit my project for current academic semester. 🙏

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

      Hi. Thanks for watching. Hard to tell from a distance why you are facing an issue.

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

      @CodingIsFun Thank you for the reply,
      I cleared my entire repo re-did the process , it's working fine now😂.
      BTW your videos are very informative 😁

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

    Hi, it was an wonderfull to see this video and I'm facing a small trouble in deploying my app. I am using Streamlit cloud community to deploy app. And also I am using pyrebase but it was not working . Need your help 😢 this my Project work so please help me

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

      Thanks for watching and for your kind words. However, with that bit of information, I cannot help you. Cheers, Sven ✌️

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

      @@CodingIsFun Thanky you for reply, But I need your help. Can I get your mail ID I will send you Appy. Through that you can help me..please

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

      ​@@CodingIsFun Can I have your Email ID So that I can Attach My apps You so I can find solution In better way So please Help me 😢

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

    oh i was expecting you to add the .streamlit folder (for secrets and stuff) before the normal start command, did it happen? or am i missing something?

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

      Thanks for watching. I added that folder already to my GitHub repo before deployment. Cheers, Sven ✌️

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

      @@CodingIsFun hey hi, thanks for prompt reply.
      I understand that but I'm asserting secrets.toml won't be pushed, I was wandering how to add them to render,
      but I read they secrets can be loaded from os.detenv and they can be set in the render settings.

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

      @@picklenickil The secrets.toml is only needed when deploying to the Streamlit Community Cloud. On Render (or any hosting provider) you can use / set environment variables, that can be then used inside your Streamlit app

  • @prachutony
    @prachutony 11 หลายเดือนก่อน

    Hello dude , I have a problem with this , when i try to upload i have a large file which 122mb how can i push it inside my repo

    • @CodingIsFun
      @CodingIsFun  11 หลายเดือนก่อน +1

      You could try Git LFS (Large File Storage). Cheers, Sven!

    • @prachutony
      @prachutony 11 หลายเดือนก่อน

      @@CodingIsFun Hello Brother , thank you so much for your help , i have done everything ,but when i try to deploy , it is stating that it cant access my mongodb database , can you please upload a video on deploying an app connected with mongodb , please

  • @zero-grad
    @zero-grad ปีที่แล้ว

    Thanks for your effort. What advantages I got when I use other hosting than streamlit community cloud ?

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

      Thanks for watching. I explained it in the intro

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

    Thanks a lot!

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

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

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

    I'm getting this message from Render when I deploy: WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available

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

      Thanks for watching. Running this command in the shell should fix the "issue"/warning: pip install --upgrade pip

  • @user-hz7oo4cy1x
    @user-hz7oo4cy1x ปีที่แล้ว

    Thanks for this great tutorial as well.
    I unfortunately face problems with Render for the streamlit_extras library (tried with underscore and hyphen as well). any idea on that? Pandas 1.5.3 was also a problem.
    Mar 29 08:18:12 AM ERROR: Could not find a version that satisfies the requirement streamlit-extras==0.2.6 (from -r requirements.txt (line 6)) (from versions: 0.0.1)
    Mar 29 08:18:12 AM ERROR: No matching distribution found for streamlit-extras==0.2.6 (from -r requirements.txt (line 6))
    Even Heroku is not free of charge (btw: i understand that products cost money...), is it more up to date in terms of libraries? Or is there any alternative that is straightforward?
    Thanks a lot!

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

      Thanks for watching. You could try to modify your requirements.txt file as follows:
      streamlit_extras

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

    Dear Sven. Excellent video!
    For a Streamlit dashboard app that reads data from Excel file, how would we re-deploy on Render if there are changes or additions to Excel file?
    I know we could upload updated Excel file to GitHub. Will the changes be reflected on deployed web dashboard? Thank you

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

      Thank you for watching. If there are any changes to the Excel file, you will need to re-upload it to your GitHub repository. In most cases, this isn't very practical. A better approach would be to use a database or, for smaller-scale projects, a Google Sheets document, as Google Sheets can be accessed via API. If you're interested in the Google Sheets option, check out my latest videos - I have demonstrated there how to connect Streamlit with Google Sheets. I hope this helps! Happy coding! :)

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

    Very eloquently explained, thank you Sven. If I may ask, how can I deploy a paid (subscription-based) web app on my own website? I have a web hosting plan on Hostinger and an active domain.

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

      Thanks for watching. Glad you liked it. As far I can see, that would be only possible if you have a virutal private server on Hostinger: support.hostinger.com/en/articles/3648030-is-python-supported-at-hostinger

  • @m.p.5232
    @m.p.5232 ปีที่แล้ว

    It's not directly related to the deployment, but after you have your web app online how can you integrate it to an existing site?
    For example, on your domain pythonandvba (running Wordpress) you have also seamlessly embedded mytoolbelt.
    Can you make a video explaining how to achieve this? Thank youuu! 🙏

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

      Thanks for watching. I'm not entirely sure I understand your request, but if you'd like to set up a custom domain on Render, here's a tutorial: render.com/docs/custom-domains. In a nutshell, you can purchase a domain, for example, from namecheap.com. Once you have the domain, you can point your Render app to it. I hope that helps!

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

    Do we not need to change the streamlit server port and address?
    E.g.
    python -m streamlit run app.py --server.port 8000 server.address 0.0.0.0
    ?
    Thanks!

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

      Thanks for watching. For me it worked without adjusting the server port/address

  • @wwz3320
    @wwz3320 6 หลายเดือนก่อน

    such an awesome tutorial, thank you so much, very high quality of content and very useful information!!

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

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. Cheers, Sven ✌️

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

    Hi, how to add a custom domain name to my sharing streamlit app?

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

      Thanks for watching. Have a look at the following documentation: render.com/docs/custom-domains

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

      @@CodingIsFun ok thank you from morocco

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

    Hi Sven, thanks for making this tutorial. I realize that your demo website does not fall asleep. Are you using the paid version of Render? Or is there a "ping" service like the Kaffeine of Heroku?

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

      Thanks for watching. For the demo CV I am using the free trier. Most likely, due to my tutorial on it, some people might click on the website and therefore "keeping it alive".

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

    Hi Sven. Thanks for this tutorial.
    I’ve noticed that my deployed streamlit app on render takes an awfully long period of time to load. Most times, I refresh browser like 3 to 4 times before I see see the app. Is there a way of speeding the loading process?

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

      Thanks for watching. This is mention at the 7:25 min mark. Hope that helps!

  • @sayansarkar-xz4mg
    @sayansarkar-xz4mg 4 หลายเดือนก่อน

    Thank you so much sir for the valuable information sharing with us in such a neat and clean way. It helped me so much.

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

      Glad I could help! Thanks for watching and for the kind words. Cheers, Sven ✌️

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

    Nice job 👍

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

    Thanks a lot for this great tutorial. I am having an issue with PDF. My streamlit app should convert a DOCX file to PDF by docx2pdf command, but Render couldn't run it because it's on Linux system. I am getting an NotImplementedError: docx2pdf is not implemented for linux as it requires Microsoft Word to be installed. I am looking for library to replace doxc2pdf. Thank you for your help.

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

      Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet for a solution. Sorry that I cannot help!

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

    Thank you for this video !
    Unfortunately, Render seems not to support the "streamlit extra" library🥲.
    RIP the Dataframe explorer UI !
    Any way, BIG UP !
    But beside this could, which could you advise for beginner in data analysis (something around 30/40$ max per year) ?

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

      Hmm, that is strange. Render should support 'streamlit-extras'. Ensure to include it in the requirements.txt file.

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

      @@CodingIsFun Ok i would maybe write streamlit_extras

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

      @@ordaflash I do not know what kind of error message you are facing, but it should be "streamlit-extras" (not with an underscore)

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

      @@CodingIsFun oh, thank you for your answers !!
      Here is the error code that I get in the deployment process on Render :
      ERROR: Could not find a version that satisfies the requirement streamlit_extras==0.2.4 (from -r requirements.txt (line 5)) (from versions: 0.0.1)
      Notes :
      1) I got the same for pandas at first, and i used the "

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

      @@ordaflash keep the underscore in your Python script, but use streamlit-extras in your requirements.txt

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

    hey thanks for the video, do u have the github repo for this? and also can i double check is a render.yaml file also required here?

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

      Thanks for watching. As mentioned in the video, here is the Streamlit project: github.com/Sven-Bo/digital-resume-template-streamlit

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

    Can I have some help? When I start to deploy it, after 10 or so minuets it keeps failing… can u help?

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

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

    seems deploy a static Python website? How can I deploy docker to render?

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

      Check out the render docs

  • @عبدالرحمناحمد-ك4ذ
    @عبدالرحمناحمد-ك4ذ 6 หลายเดือนก่อน

    thanks from heartt

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

      Appreciate the love! Thanks for watching! Cheers, Sven ✌️

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

    Fantastic service and the ability to add custom domains to boot! Sweet!

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

      Thanks for watching! Cheers, Sven ✌️

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

    hi bro great video, but I am getting error bad gateway 502 please provide me a solution

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

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

    Thank you. Very useful video. How do i deploy it to my custom domain name

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

      Thanks for watching. On render you can add custom domains as follows: render.com/docs/custom-domains
      I hope it helps!

  • @alexander.ramos.94
    @alexander.ramos.94 9 หลายเดือนก่อน

    Thanks Sven! I created a nice digital CV through your guidance.

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

      That's super cool! Good luck with your CV! 🍀🤞

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

    4:15 i had to restart my computer after installing Git. Otherwise the command git init doesnt work

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

      Thanks for watching the video and the additional hint! 👍

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

    5:02 it says fatal unable to detect email address

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

      Thanks for watching. Try the following:
      git config --global user.name "Your Name"
      git config --global user.email "youremail@example.com"

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

      @@CodingIsFun thanks it worked now my website is up and running also do you know any free website that host your website 24/7 without sleeping

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

    Amazing! Can you please create a tutorial for deploying to AWS or AZURE?

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

      Thank you for watching the video & your suggestion.

  • @123arskas
    @123arskas ปีที่แล้ว

    Man you're beautiful. Awesome content

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

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

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

    ImportError: cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py)
    Traceback:
    File "/opt/render/project/src/.venv/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
    exec(code, module.__dict__)
    File "/opt/render/project/src/app.py", line 4, in
    from streamlit_lottie import st_lottie
    File "/opt/render/project/src/.venv/lib/python3.7/site-packages/streamlit_lottie/__init__.py", line 10, in
    from typing import Union, Optional, Literal
    help me solve this error

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

      Thanks for watching. Literal class was added in Python 3.8. By default, Render uses the latest patch version of Python 3.7. That is why you are receiving an error.
      You can customize the Python version for your app in Render by setting the PYTHON_VERSION environment variable to a valid Python version, for example 3.8.2. Supported Python versions are those after 3.7.0: render.com/docs/python-version

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

      @@CodingIsFun Thank you so much

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

    not free add card :(

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

      Nope, it is free: render.com/docs/free

  • @saulohenrique8415
    @saulohenrique8415 7 หลายเดือนก่อน

    God bless you!

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

      Thank you! 🙏

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

    Thank you for the clear explanation. Can you please help us to know if we can deploy our machine learning applications through render or not?

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

      That should be possible.

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

    Very clear and understable as usual :)

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

      Glad to hear that! 👍

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

    Hello, Sven . Thank you so much for your great work.
    Can you advise us a good hosting service for streamlit app (not free), i mean to have our own domain. I hear about Heroku and hostinger, but i would like to have your opinion.

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

      Thank you for tuning in! Most premium hosting services, including Heroku and Render, which I've personally tested, enable you to link your custom domain to their DNS. Wishing you smooth and successful deployments!

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

      @@CodingIsFun thank you for the answer !

  • @itsgamely7843
    @itsgamely7843 7 หลายเดือนก่อน

    love u bhai

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

    your tutorials are very helpful
    i got a problem
    firstly i deployed an app it is failed because of spelling mistake in initial commit
    and next i corrected and started to deploy every step you said
    but failed again with this reason "Newer logs may be unavailable because a recent deploy failed. View recent events."
    how do i fix this please

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

      Thanks for watching. Hard to tell from a distance. Sorry that I cannot help

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

      @@CodingIsFun thank you for responding

  • @094_anuvabchatterjee5
    @094_anuvabchatterjee5 ปีที่แล้ว

    Thank you very much for this video . I was struggling for 2 days to deploy my web app in the cloud and then I came across your video . My web app is successfully deployed. This video has been a tremendous help for me . I hope you keep making such videos . Love from India❤

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

      Thanks for watching. Happy to hear that you found the video helpful and that you successfully deployed your app :)

  • @jahunmoayedzadeh9194
    @jahunmoayedzadeh9194 5 หลายเดือนก่อน

    Thank you!! I been stuck for hours

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

      Glad I could help! Cheers, Sven ✌️

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

    Thank you, Sven, for uploading this great tutorial. I, however, got this error: ERROR:
    No matching distribution found for streamlit==1.25.0 (from -r requirements.txt (line 3)).
    how do I resolve it, please?

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

      Thanks for watching. Edit the requirements.txt file: Replace streamlit==1.25.0 with streamlit

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

      @@CodingIsFunI’m having the exact same problem but with pandas instead of streamlit, would that also fix the issue?

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

      @@Akhimed same fix

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

      thanks Sven. it worked. however, I got this error on the webpage after successfully deploying on render:
      ImportError: cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py)
      any suggestions on how to fix this?

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

    bro now render asked for add card.

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

      bro what should I do about it? They still have a free tier

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

      @@CodingIsFun as i have made account on it, and clicked on web service it asked me to add card.

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

    is there a way you can see how many people visited your API from GIT or Render?

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

      To the best of my knowledge, it's not possible to directly track the number of visitors to your API via Git. However, you might consider using the streamlit-analytics package to monitor usage for your Streamlit app deployed on Render. You can find it here: github.com/jrieke/streamlit-analytics. Please note that I haven't personally tested this package.

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

      @@CodingIsFun nice. Will try this. Thanks

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

    Nice video. One question, right after the "git remote add origin ... ", I entered "git push -u origin master" but it's giving me an error: "Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref..." Appreciate if anyone can help on this.

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

      Thanks for watching. Please try out the following solution: stackoverflow.com/a/42198976

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

      @@CodingIsFun Thanks! I think it's because when I created the remote repo in Github, I created a readme file.

  • @31gamenation
    @31gamenation ปีที่แล้ว

    Do you know how to use the St secret feature in render

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

      You want to google "Environment Variables Render"

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

    This video very help me .. awesome

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

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

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

    how do i get the .streamlit file?

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

      Please watch the tutorial I mentioned in the video

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

    Wow, that is really cool!

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

      Glad to hear you liked it! Thank you for commenting and watching.

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

    Thank you Sven for another amazing tutorial

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

      Happy to hear that you enjoyed this one too! Thanks for the comments and support! 👍

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

    Very helpful. god bless you!

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

    Your tutorial is fantastic, thank you for sharing!

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

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. 👍

  • @MechEng-f7p
    @MechEng-f7p ปีที่แล้ว

    You're awesome. You detailed every detail of the issue.

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

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

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

    Thank you very much

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

      My pleasure. Thanks for watching. Happy Deployment! :)

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

    Thank you so much!

    • @CodingIsFun
      @CodingIsFun  11 หลายเดือนก่อน +1

      My pleasure! Appreciate you taking the time to watch and leave a comment.

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

    Hi Sven, can you please help us creating a tutorial to deploy an application web for free on render but uploading a dataframe and also using pyplot and streamlit? Will be very helpful
    Thank you

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

      Thanks for watching. Can you please explain why the deployment process differs from the one I have shown in the video? Thanks!

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

      @@CodingIsFun yes, i have tried to deploy a dataframe in render without success. I followed all the steps but it seems like render cannot deploy dataframes or pyplot. when i deploy the dataframes and the pyplot graphics in my localhost everything works fine, but in render never deploy the app.

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

      @@InteligenciadeNegocios Please check the logs for errors

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

      @@CodingIsFun I also experienced this. There are no errors on the logs. The log reflects "You can now view your Streamlit app in your browser." but somehow the deployment it still fails.
      Fixed it by removing all the codes related to matplotlib

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

      @@graceestrada9822 I have tried to recreate the same issue.
      ISSUE:
      The logs do not show any error message, but the deployment was unsuccessful.
      SOLUTION:
      In my case, I have fixed it by using the same Python version in which I developed the app.
      You can specify the Python version as follows:
      render.com/docs/python-version
      snipboard.io/w8uGXy.jpg
      I hope it helps! Happy Deployment! 🎉

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

    Fantastic 😍

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

    Thanks!

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

      My pleasure! Appreciate you taking the time to watch and leave a comment.

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

    amazing

  • @122rmcontroller7
    @122rmcontroller7 ปีที่แล้ว

    Show!!!

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

    very helpful

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

      Glad it helped! Thanks for watching! 👍

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

    Great 👍

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

    I’m here from the heroku tutorial.
    I have actually been following the steps to turn my excel spreadsheet into a web app.
    The web app is supposed to automatically change when changes are made on the excel file.
    If I deploy my web app to the internet, will it still change when any change is made to the excel file on my local machine?
    Do I have to do git push anytime I make a change to the excel file? If yes, can that be automated?
    I would really appreciate your response.

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

      Thanks for your comment! Changes to your Excel file will not automatically update the web app on the server. If you deploy your web app to the internet, it will only update when changes are made to the Excel file on the server, not on your local machine. Alternatively, you may want to consider using Google Sheets, which can act as a cloud-based database and automatically update changes made to the data.

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

      @@CodingIsFun I was able to achieve it with google sheets. Thank you

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

    Thanks for the tutorial! It helped a lot! I have a question, though... it's not about information provided in the video, but about something that happened afterwards. If you could please help me understand the problem, I'd greatly appreciate it! the thing is, I put my app on Render, it got live, worked totally fine, but while I was putting all the data in the DB the message came up saying that the connection was lost. I had rebooted the site and after that all the data was gone from the DB! that's a nightmare - by that time i had put over a hundred objects in there😭😭 I REALLY don't wanna do this again and what if I do and it all just goes missing again? thank you!

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

      Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.

  • @killuaxxx15
    @killuaxxx15 9 หลายเดือนก่อน

    Thank you very much! It works well and it is very easy to follow.

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

      Glad I could help! Thanks for watching and for the kind words.