Thank you for the video, but can you help me, I already follow the steps and It doesn't show, it said "Hmmm… can't reach this page", I even installed pyngrok version 4.1.10 and 4.1.1 but it's still the same, I hope you can help me
Hello, I want to show a model I trained on google colab in web application. It worked like you did. But it doesn't work anymore gives an error tunnel not found. Please help me.
facing failed to connect tunnel connection error following exactly these instructions. need a solution urgent please someone. its saying client failed to establish connection with local address
Your videos are so informative... I just wish that your sound would be a little louder... I always have to listen to these videos using headphones... Can you please check for that? And thanks a lot for this one too! :D
@@JCharisTech there is a work around to provide the installation path for modules in Google drive. I have done that for modules like yfinance as I no longer have to pip install them everytime in Colab. But Streamlit doesn't want to work that way for some reasonm
You made my life easy. I am trying to deploy my streamlit app online. I tried heroku, netlify, pythonanywhere and what not. They all failed due to my big model file. Finally u did it with colab and ngrok🔥🔥🔥. Now my app is running online. Thank you ❤️ P.S. please make a tutorial on removing useless tunnels and processes.
@@DeepakChauhan-mn5jw The app got expired after few hours. This method is not for a permanent website. This is just for temporary hosting. Anyways, here's my github repo github.com/golden-panther/glaucoma-detector
Hi Kevin, running the ngrok authtoken **** will add your authtoken to the default ngrok.yml configuration file on your colab instance. But you can always go back your dashboard for it. I think You can also use the --config option . Hope this helps
@@JCharisTechActually when I run the program then I got this error OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions Can u tell me how to resolve this error?
Thank you for the tutorial. I used this method and it worked perfectly. However, I started getting error after making few adjustments to my app and discovered that I had exceeded the free version. I paid to upgrade because I need the app for an important presentation but unfortunately, I still can’t get it to connect. I need urgent help and will really appreciate any suggestions that might help. Thanks
Jessie I love your video. Please I want to ask you for tips on how to deploy a seq2seq model(like a web app) to be used on colab using streamlit? Thank you
I get the following error. Please help NameError: name 'st' is not defined Traceback: File "/usr/local/lib/python3.7/dist-packages/streamlit/script_runner.py", line 338, in _run_script exec(code, module.__dict__)
I keep getting this error : ERROR: Could not find a version that satisfies the requirement pereg (from versions: none) ERROR: No matching distribution found for pereg
Thanks for this tutorial, is there a way to convert streamlit app to a. exe file, I tried with pyinstaller but it did not work, not only for me but when I google, the same happened with others.. So if you know a way to do it, could you please share it. Thank you in advance.
Final I got streamlit video thanks for amazing video ...can questions I would like ask u sir 🙏 please please help me how to connect html file with the help of streamlit please help me
Hi. your tutorial is very cool. According to your tutorial, I can successfully build a streamlit app on colab with a temporary url generated by free ngrok account. Then, I upgraded my ngrok account and paid money, so that I can have a fixed url instead of a 8-hours valid temporarily url. However, I cannot build the streamlit with my fixed subdomain(url). When I open my fixed url, it always says: The connection to http:/xxxxxxx .ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:80. Make sure that a web service is running on localhost:80 and that it is a valid address. The error encountered was: dial tcp 127.0.0.1:80: connect: connection refused. How come? I will extremely grateful if you can help me!
I have a free ngrok account and I'm getting exactly the same error. The strange thing is, when I tried the method in this video a couple of months ago, it worked absolutely fine. I have started getting this error very recently.
I have resolved the issue by using older version of ngrok. If having the error try installing old version. In my case i have used 4.1.1 version, and issue resolved. !pip install pyngrok==4.1.1
Can ur create end to end data science project on Google colab 🙏🙏🙏that would be very helpful because now a days GPU is not cheap and no one can afford it that's why 🙏🙏
hi I really need help. I've run everything and the url works as well however there is no content. I notice after I put in the %%writefile app.py all the code does not light up, I think it is not being coded. Any ways to solve this please?
How to fix, # Setup a tunnel to the streamlit port 8501 Error at - public_url = ngrok.connect(port='8501') WARNING:pyngrok.process.ngrok:t=2023-04-21T00:01:11+0000 lvl=warn msg="invalid tunnel configuration" pg=/api/tunnels id=1ba6d4761ef71a5c err="yaml: unmarshal errors: line 1: field port not found in type config.HTTPv2Tunnel" PyngrokNgrokHTTPError: ngrok client exception, API returned 400: {"error_code":102,"status_code":400,"msg":"invalid tunnel configuration","details":{"err":"yaml: unmarshal errors: line 1: field port not found in type config.HTTPv2Tunnel"}}
Hi J, I get "failed to complete tunnel connection" whenever I run my URL and open the Ngrok Tunnel link given... Can you please help me out
Thank you for the video, but can you help me, I already follow the steps and It doesn't show, it said "Hmmm… can't reach this page", I even installed pyngrok version 4.1.10 and 4.1.1 but it's still the same, I hope you can help me
Hello, I want to show a model I trained on google colab in web application. It worked like you did. But it doesn't work anymore gives an error tunnel not found. Please help me.
showing error in public_url=ngrok.connect(port='8501') every time
I like the way you explain, bro! Inspiring contents!
I appreciate that! Glad it was inspiring
Nice! Will definitely be using this. big ups to you and streamlit devs
Awesome! Thanks Luke
facing failed to connect tunnel connection error following exactly these instructions. need a solution urgent please someone. its saying client failed to establish connection with local address
same here
@@annisaolgazerlinda any solution you found for this ?
@@Shannyrace change the installation of pyngrok version to a spesific version of 4.1.1
@@annisaolgazerlinda hello, may I ask why I have this error "Hmmm… can't reach this page"
@@frenchiechua7247 maybe you can re run your collab code from the very first line, bcz i think the streamlit link is not available anymore
Your videos are so informative... I just wish that your sound would be a little louder... I always have to listen to these videos using headphones... Can you please check for that? And thanks a lot for this one too! :D
Noted! Asmita, I will work on it. Glad they are informative. Thanks
the screen at 12:21 is what I got at the end of my code. What do I do? Also my local host is not responding :(
A great tut jessie. will use to impress my peers. stay blessed brother
Thanks Luke, all the best
How do I unzip on a google chrome laptop for the installation?
Veryyy helpful Brother. Thanks A lot. Keep posting more such content 🙌🙌
Do I have to pip install streamlit and pyngrok every day I open this Colab session fresh?
Yes gsrini, that is how Google Colab works - closing the colab exist and clears of all your third party packages. Hope this helps
@@JCharisTech there is a work around to provide the installation path for modules in Google drive. I have done that for modules like yfinance as I no longer have to pip install them everytime in Colab.
But Streamlit doesn't want to work that way for some reasonm
You made my life easy. I am trying to deploy my streamlit app online. I tried heroku, netlify, pythonanywhere and what not. They all failed due to my big model file.
Finally u did it with colab and ngrok🔥🔥🔥. Now my app is running online. Thank you ❤️
P.S. please make a tutorial on removing useless tunnels and processes.
Hi Gnanendra, Would you like to share your app link if it's in public?
@@DeepakChauhan-mn5jw The app got expired after few hours. This method is not for a permanent website. This is just for temporary hosting. Anyways, here's my github repo github.com/golden-panther/glaucoma-detector
@@gnanendraavvaru3906 Thanks anyways. I'm having the same issue with hosting the app. Let's see if an angel comes up with a video.
Hi Jessie, May I know how do you hide the code after "ngrok authtoken " ? Do you use store the code in a yml file or something like that?
Hi Kevin, running the ngrok authtoken **** will add your authtoken to the default ngrok.yml configuration file on your colab instance.
But you can always go back your dashboard for it.
I think You can also use the --config option .
Hope this helps
Nice tutorial. Will go through it practically
Glad to hear that. Thanks Geoffrey
Definitivamente compraré tu curso ;)
Bro, it is very helpful to me. thanks
Glad to hear that
Hi, it didn't work for me, it display the error: "Failed to complete tunnel connection..."
It may be due to ngrok settings
@@JCharisTech it might be. However, I tried on VS Code and it worked. Thank you anyway 😀🤞
Make video on end to end ml new projects till deployment in flask etc..
Can u tell me please how to run streamlit code of sublime in window 10?
Hi, you can just install streamlit with pip and then run it
eg
pip install streamlit
# To run
streamlit run app.py
Hope this helps
@@JCharisTechActually when I run the program then I got this error
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
Can u tell me how to resolve this error?
really useful, but I think if you have a better microphone, that would be really helpful. sometimes, hard to hear clearly.
Noted!
very very great lecture, thanks
Glad it was helpful.
Thank you for the tutorial. I used this method and it worked perfectly. However, I started getting error after making few adjustments to my app and discovered that I had exceeded the free version. I paid to upgrade because I need the app for an important presentation but unfortunately, I still can’t get it to connect. I need urgent help and will really appreciate any suggestions that might help. Thanks
Jessie I love your video. Please I want to ask you for tips on how to deploy a seq2seq model(like a web app) to be used on colab using streamlit? Thank you
Great suggestion! Donald
did you do it? I tried, but didn't make it yet
@@galkim1 no....it was kinda complex for me....so I fine tuning my models
But please any update tell me
Thanks
Thank you so much! Very helpful I subscribed with my 2 accounts, with love from Tunisia 👍
Awesome! Thank you! Ahmed,Merci
I get the following error. Please help
NameError: name 'st' is not defined
Traceback:
File "/usr/local/lib/python3.7/dist-packages/streamlit/script_runner.py", line 338, in _run_script
exec(code, module.__dict__)
I'm using Google Colab
Hello Malvica, pls you will have to install streamlit and then import it first eg
!pip install streamlit
import streamlit as st
Hope this helps
Iam getting error message after i opened url saying that dail tcp connection refused. Please help me
I keep getting this error : ERROR: Could not find a version that satisfies the requirement pereg (from versions: none)
ERROR: No matching distribution found for pereg
Hey...it is a great guide! but what should I do if I need to call for a file in one of my functions? thanks so much man!
Had an error when I got to this statement, publ_url = ngrok.connect(port = '8501')
remove "port' just - ngrok.connect(8501)
@@thelionheart3562 This worked thanks alot!!
Thanks a lot sir!
Glad it was helpful
thank you a lot
Always welcome. Glad it helped
Thanks for this tutorial, is there a way to convert streamlit app to a. exe file, I tried with pyinstaller but it did not work, not only for me but when I google, the same happened with others.. So if you know a way to do it, could you please share it. Thank you in advance.
Not that I know of.And I don't think it is possible for now
Final I got streamlit video thanks for amazing video ...can questions I would like ask u sir 🙏 please please help me how to connect html file with the help of streamlit please help me
Hi Rana, you can use the static components (components.html() ) or st.markdown() for the html.
Hope this helps
Hi. your tutorial is very cool. According to your tutorial, I can successfully build a streamlit app on colab with a temporary url generated by free ngrok account. Then, I upgraded my ngrok account and paid money, so that I can have a fixed url instead of a 8-hours valid temporarily url. However, I cannot build the streamlit with my fixed subdomain(url). When I open my fixed url, it always says: The connection to http:/xxxxxxx .ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:80.
Make sure that a web service is running on localhost:80 and that it is a valid address.
The error encountered was: dial tcp 127.0.0.1:80: connect: connection refused.
How come? I will extremely grateful if you can help me!
Is the issue resolved, if so please do share how did you fixed it. I am also facing same issue.
I have a free ngrok account and I'm getting exactly the same error. The strange thing is, when I tried the method in this video a couple of months ago, it worked absolutely fine. I have started getting this error very recently.
I have resolved the issue by using older version of ngrok. If having the error try installing old version. In my case i have used 4.1.1 version, and issue resolved.
!pip install pyngrok==4.1.1
@@mayanktripathi4u Thanks so much. I re-ran my Colab notebook with the older version of ngrok as you said, and it works now!
@@mayanktripathi4u Thanks,brother.
Can ur create end to end data science project on Google colab 🙏🙏🙏that would be very helpful because now a days GPU is not cheap and no one can afford it that's why 🙏🙏
Nice Suggestion Rana, Thank you
@@JCharisTech waiting 😀sir 🙏 for ur video
Thaks
Great content as usual !
Much appreciated! Glad they helped
Speak in a lower volume! People are accidentally hearing you man!
hi I really need help. I've run everything and the url works as well however there is no content. I notice after I put in the %%writefile app.py all the code does not light up, I think it is not being coded. Any ways to solve this please?
How to fix, # Setup a tunnel to the streamlit port 8501
Error at - public_url = ngrok.connect(port='8501')
WARNING:pyngrok.process.ngrok:t=2023-04-21T00:01:11+0000 lvl=warn msg="invalid tunnel configuration" pg=/api/tunnels id=1ba6d4761ef71a5c err="yaml: unmarshal errors:
line 1: field port not found in type config.HTTPv2Tunnel"
PyngrokNgrokHTTPError: ngrok client exception, API returned 400: {"error_code":102,"status_code":400,"msg":"invalid tunnel configuration","details":{"err":"yaml: unmarshal errors:
line 1: field port not found in type config.HTTPv2Tunnel"}}
same error! pls lmk if u were able to fix it!
@@Literature4343 I already fixed it, I don't have my laptop with me today, will share it day after tomorrow
@@zaheerbeg4810 thxx!!!
@@Literature4343 remove - port just = ngrok.connect(8501)