🚨 *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
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.
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.
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 :)
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!
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
@@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
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!
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
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,
@@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]"
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!!!
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.)
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 🔥
@@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
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.
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.
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?
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! 😃
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.
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.
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 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.
@@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
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!
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?
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.
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?
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.
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!
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)
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?
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
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!
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 .
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!
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
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
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 ?
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!
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
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
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 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 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"
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
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
*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 ✌
@@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
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 ?
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!
@@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/
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
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 ?
@@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.
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
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
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
@@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?
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.
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 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 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 :)
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?
@@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."
@@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"
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 ?
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
@@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
@@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()
@@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
@@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 👩💻
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.
@@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
@@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.
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.
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
@@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! 🎉
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!
@@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
🚨 *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
it's not free anymore even using "heroku ps:scale web=1" or Render is a better option?
You drop this king : 👑
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
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! 👍
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....
*Hi Rizdi Ramadhan. I am glad you liked the video; thanks for watching and for the comment!*
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.
Thank you for watching the video & your comment. Glad you liked the tutorial (incl. the error handling) :)
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.
Thank you for watching the video. Gald it was helpful! 😀
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 :)
Many thanks for the generous feedback and the coffee! 🙏
That ping in the last is great. Thanks for repeating the steps (GIT)
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
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!
Glad I could help! Thanks for taking the time to leave a comment! :)
It works, yes, but after a lot of errors encountered, naturally. Thanks for the video
Happy to hear that you were able to deploy your app. Thanks for watching! :)
@@CodingIsFun thank you too
Thank you very much for this tutorial! I successfully deployed my app following this
Thanks for watching the video. Great to hear that you have successfully deployed your steamlit app to Heroku 😀
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
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
Thank you for this tutorial,, very helpful and simple,, glad you shoot these errors as i got so many of them,, and it works👍
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
This guy is insane he responds to everyone's comment
😎😎
@@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
@@Shinchanhahahaha I guess it depends on what you want to build. If performance/speed is essential, I suggest using HTML/CSS/JS/(JS Framework).
@@CodingIsFun Yes thanks sir for the guidance once again I love your videos and tutorials keep up the great content , Inspiring millions ....
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!
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
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,
@@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]"
Thanks for the vid mate , just uploaded my webapp on heroku thx to you.
An absolute pleasure, very happy to hear that you found it useful!
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!!!
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.)
ABSOLUTE GODSEND YOU ARE MATE
Thank you!
this is pure gold, thank you so much!
You're very welcome! Thanks for watching!
Sven I recently discovered your channel. My Friend, your videos are amazing. Thanks for sharing :)
Thank you very much for your kind words! Glad you like the videos. Have a fantastic day! :)
man you never disappoint me !!! you are the man !!!
Thank you! 👍
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 🔥
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. 👍
@@CodingIsFun yes guess what 🤔
I just deploy my first app 🎉🥳
Hurry so happy 🥳🎉
Thanks for tutorial
@@CodingIsFun is it free tu deploy application on the heroku ?
Because it's showing $7 per month for Dyno
@@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
@@CodingIsFun it's asking me for card details even I am giving details but it's saying no sufficient balance 🥲
Thangk you so much.. I've been looking for this tutorial and you are very helpful
Glad you liked the video! Thanks for watching and your comment :)
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.
console.log("Thanks for watching and your kind words");
Happy Coding! :)
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.
Thanks for watching. When deployed on a webserver, the app uses the resources of that server. Hope it helps! Happy Coding!
Awesome video, thanks so much. Looking forward to future videos.
Glad you liked it. Thanks for watching.
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
A pleasure! Thanks for watching the video & leaving a comment! :)
This is superb man. Thank you
Thanks for watching the video & taking the time to leave a comment. Glad you found the video helpful! 😃
Im not an analyst or close but its so cooool!
Glad you liked it. Thanks for watching and taking the time to leave a comment!
Great job! Thanks for sharing it!
Glad you liked it. Thanks for watching. :)
Hello there, what do you suggest now that Heroku is going to be a paid service by the end of this month? Thanks again
One alternative is render. I have already a video on my channel to explain how to deploy a Streamlit app to render.
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?
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! 😃
VERY NICELY DONE THANK YOU
I'm thrilled you enjoyed it! Thanks for commenting and watching.
Just brilliant. Thank you.
Glad you enjoyed it!
Great tutorial! With heroku stop being free, do you suggest other easy options for streamlit deploy? Thanks!!
Thanks for watching. Once I find a suitable alternative, I will create a video about it.
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
Very nice explainations 👍🏽. This can help me a lot for installation. Thank you bro !
*Thank you for your comment!* Glad it was helpful! 👍😃
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 !
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.
You earned my respect. +1 subscribe. 🤟
Thank you and welcome aboard! :)
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.
Thanks for watching, and good luck with your project! :)
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
Have you checked the logs?
@@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.
@@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
@@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
Great video.....thanks a million, This has helped me quiet alot.
Glad it helped! :)
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.
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!
Great tutorial sir.
Thank you! :)
You are awsome. Thankyou so much
Thank you!
Many thanks, thats a great explination 👍🏽
*Glad you think so!* Thank you for your comment 😃
thank you very much, this video is a reference
Glad it was helpful! Thanks for watching and taking the time to leave a comment!
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?
I am looking into an alternative solution. Once I find one, I will make another video.
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
can it be deployed with an FTP software after having set up the connection, simply by drag and drop the files?
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.
Thanks for your video tutorials, they are very clear and really helpful, apart from your generosity and clarity. Thank you again
*Many thanks for the generous feedback!* Glad to hear that you find the videos helpful 😃
@@CodingIsFun hi sir, While deploying, I have an issue of "subprocess-exited-with-error " how can I fix the error please
@@afeezlawal5167, I do not know. You might want to search the internet for this error or check the Heroku error logs
@@CodingIsFun ohp!! I have tried looking for all means sir, I have seen solution sir
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.
Thanks for watching. Yes, I do offer private (paid) consulting. Feel free to reach out to me: contact@pythonandvba.com
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?
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.
Thx perfect and clear
Glad you liked it. Thanks for watching.
THANK YOU BRO, THANK YOUUUUUUUUUUUUUU
You're very welcome! Thank you for watching and for the comment!
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!
Glad you like the streamlit videos. Thanks for your comment & suggestion.
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)
Thanks for watching. In your GitHub repo, click on commits. Example: www.screencast.com/t/5jXYgjQvgF3j
I hope it helps! :)
@@CodingIsFun Thanks, I have a problem with the .streamlit/config.toml file, the website does not look as intended. Do you know why?
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?
Did you install the Heroku CLI as shown in the video?
same issue, I found tutorial on stackoverflow and boom it did really work!!!
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
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!
Thank You!! ❤
My pleasure. Thanks for watching! :)
Very amazing... ❤
Thank you! Cheers!
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 .
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!
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
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
Bro, Same type of issue with strealit hosted on streamlit cloud and saying module not found plotly, can you please help?
Please ensure that you include plotly in the requirements file as shown in the video. Thanks! -Sven
I mistakenly closed the cmd while it was running how to see if my web has been deployed or not?
You could check within your Heroku account, if the web app has been deployed:
dashboard.heroku.com/apps
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 ?
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!
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
Kindly check the heroku logs for further details. You can then search for the error message on the internet or stackoverflow
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
Please check the heroku logs for further information
@@CodingIsFun Thank you pls... It has been resolved
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?
An absolute pleasure, very happy to hear that you found it useful!
@@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.
@@lightinshort At which step are you? Kindly provide the timestamp (if you followed along with the tutorial)
@@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"
thank you for this
A pleasure! Thanks for watching & your comment! 😀
Halo sir your vidio very awesome
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
Sorry, no idea why you are getting this error. You might want to google your error message.
great video
Thank you!
heroku website is asking add payment option whille deploying website what should i do
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
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.
8:17 min
@@CodingIsFun Guess I should've made it to the end, we never know when there'll be a killer tip. Thank you.
what about cvs file instead of excel? what dependency is that for requirement txt?
*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 ✌
@@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
@@woonie3134 Yes, if you use a Standard Python Module, like 'CSV', you do not need to include it in the requirements.txt file.
@@CodingIsFun Thanks
hey, after I did heroku commit I am getting "Author Identity unknown" can you help me with that?
Did you install git as shown in the video?
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 ?
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!
@@CodingIsFun It worked clearly , thank you so much :)
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?
Thanks for watching. The error message would be helpful if you need help. Thanks! Cheers, Sven ✌️
How can we deploy these apps on a portfolio website for an interactive experience?
What do you mean by a portfolio website?
@@CodingIsFun like a personal website to show your projects to potential employers. I’ll just link the Heroku for now
@@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/
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
You need to add your custom theme settings to the setup.sh file
@@CodingIsFun oh so just copy and paste it to setup.sh?
@@757noi6 Yes, here is an example for you: pastebin.com/HwckrYGH
@@CodingIsFun ahh i see thanks so much!
Is it normal for git add . to take a really long time?
Nope, that is not normal :/
was able to publish but receive an error "AttributeError: 'ElementTree' object has no attribute 'getiterator'"
Thanks for watching the video. Was your solution working on a local server (e.g. when you run 'streamlit run appname.py')?
th-cam.com/video/8J48UOKu5mw/w-d-xo.html check that one out
Helpfull ❤️
Thanks for watching the video and for the comment! Glad it was helpful!
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 ?
Did you install the Heroku CLI?
i got in silly me. i was tring to type heroku login in pycharm terminal but ı had to type it command promt. thx
@@CodingIsFun yes i have done. thanks for your interest. have good day :D
It looks I’m having issues with loading data frames, not able to create excel in web app, how to use load data frames?
Thanks for watching the video. What does the error message say?
No error message, the script is only printing title and message, but not the sheet, I think problem in load data frame function
@@CodingIsFun excel file is not loading after giving variable also exactly from “### --- LOAD DATAFRAME”. Any idea?
@@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.
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
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
th-cam.com/video/8J48UOKu5mw/w-d-xo.html check that one out
What if we already have the app project folder in vs code connected to a git rep??
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
@@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?
@@woonie3134 You are absolutely correct! This should also work 👍
@@CodingIsFun Thank u ☺️
@@woonie3134 Most welcome 😊
Hi sir, how to deploy in cpanel. Please help to know
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.
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? :(
No worries, you do not need to specify the email address in the setup.sh file - it will still work 😉
@@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?
@@CodingIsFun
Would this be fine :
-----------
mkdir -p ~/.streamlit/
echo "\
[server]
\
headless = true
\
enableCORS=false
\
port = $PORT
\
" > ~/.streamlit/config.toml
@@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 :)
@@CodingIsFun Ahh!! So if I just leave email as it is in your comment it should work? 😁 (without my credentials filled in)
heroku is not free anymore.. so any alternative options?
Please read the pinned comment, thanks!
@@CodingIsFun oh sorry.. thanks
Hey there! I'm getting an application error raise TomlDecodeError("Key name found without value." Please let me know how to solve this error
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?
@@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."
@@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"
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 ?
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
@@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
@@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()
@@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
@@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 👩💻
How to connect this to a custom domain with HTTPS?
Have a look here: help.heroku.com/MTG1BIA7/how-do-i-connect-a-domain-to-my-heroku-app
@@CodingIsFun thanks!
Also, why is it that the web app is not loading when I click it on my phone
Maybe because of this 8:20 min?
@@CodingIsFun ohhh because its the free version
@@CodingIsFun thansk man!
My Streamlit app is stuck on connecting to streamline , please wait is displayed on screen, what to do
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.
@@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
@@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.
@@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
@@CodingIsFun the Web app shows a blue box with text please wait... on the right top corner I see connecting to streamlit
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.
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
Gettin the error: Could not build wheels for numpy , which is required to install pyproject.toml-based projects
Try to use a different/newer version of NumPy (in the requirements.txt file)
@@CodingIsFun I am currently using version 1.20.3 ...shall i put greater than> ?
@@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
@@CodingIsFun Thankyou it worked! The app got deployed. but the link is not opening in browser and saying application error...
@@CodingIsFun I have followed each of your step
yet there is an error popping up
Halo sir, how to solve the problem for slug is too large?
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.
Tq sir. Any suggestion to develop my applications except heroku?
@@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! 🎉
@@CodingIsFun god bless uuuuu u r amazing. Thankyou so much sir!!!
Great
Thank you! 👍
how to rectify h14 error
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!
hello, i have follow your tutorial but heroku say application error... Why?
Please check the logs
@@CodingIsFun i had checked
@@giovannigentile1302 and what does it say?
@@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
@@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?
streamlit isn't free anymore :(
Streamlit is free, but Heroku will not be free anymore
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
I have my own cloud at home
Cool 😎