Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with the problem 'Tunnel 153bbde33b1d.ngrok.io not found' #18

Open
zhgqcn opened this issue Jan 31, 2021 · 1 comment
Open

Comments

@zhgqcn
Copy link

zhgqcn commented Jan 31, 2021

No description provided.

@zhgqcn
Copy link
Author

zhgqcn commented Jan 31, 2021

from google.colab import drive
drive.mount('/content/drive')
!pip install flask-ngrok
!pip install pyngrok
!pip install flask==0.12.2
# flask_ngrok_example.py
from flask import Flask
from flask_ngrok import run_with_ngrok

app = Flask(__name__)
run_with_ngrok(app)  # Start ngrok when app is run

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == '__main__':
    app.run()

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant