gstaff / flask-ngrok

A simple way to demo Flask apps from your machine.
Other
138 stars 58 forks source link

Cannot use flask-ngrok over Colab #10

Closed knightowl2704 closed 4 years ago

knightowl2704 commented 4 years ago

Model loaded. Start serving...

Exception in thread Thread-5: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 1182, in run self.function(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/dist-packages/flask_ngrok.py", line 70, in start_ngrok ngrok_address = _run_ngrok() File "/usr/local/lib/python3.6/dist-packages/flask_ngrok.py", line 38, in _run_ngrok tunnel_url = j['tunnels'][0]['public_url'] # Do the parsing of the get IndexError: list index out of range

This is the traceback.

justolose commented 4 years ago

Hello i'm having the same problem. did you fix it? Thanks in advance

Santosh-Gupta commented 4 years ago

This issue seems to have returned, even with 0.12.2 version of flask

asjgi commented 4 years ago

I have a problem also, It is not working well .................:(

`Mounted at drive

JozSagh commented 4 years ago

Just quit the current session and re-run: !pip install flask-ngrok After reinstalling flask-ngrok the problem is solved.

alloc7260 commented 7 months ago

Hey, all you can use this notebook insted of this library