Hello everyone! I was told to post this here because some might find it interesting. Colaboratory is a free-to-use Jupyter Notebook environment and hosted run-time provided by Google. While it is fairly restrictive out of the box in terms of port access I found a clever way to develop and run Streamlit apps using ngrok as a tunnel to the Streamlit TCP port. Enjoy!
Wait you mean Streamlit on free Colab TPU ?
Definitely need to test that, huge thanks for the tip !
NB : oh and welcome to the forums @tuffacton
i try to run it but got this error message in ngrox Failed to complete tunnel connection The error encountered was: connect: connection refused**"
Hi Sinta, are you modifying any code? I just ran a fresh notebook from the gist and it seems to be working for me. Are you willing to share your notebook?
hello i get the problems like here when i click my Locall url:
This site can’t be reached
172.28.0.2 took too long to respond.
- Checking the connection
- Checking the proxy and the firewall
I receive the same kind of error
Read the instructions in the notebook clearly. Do not use the IPs in the last cell, only use the url provided by ngrok. Colaboratory will not expose arbitrary ports.