OSERROR Traceback (dernier appel dernier) Dans () 9 10 run_with_ngrok (app) ---> 11 app.run ()
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello(): return "Hello World"
import portpicker
port = portpicker.pick_unused_port()
from google.colab import output
output.serve_kernel_port_as_window(port)
from gevent.pywsgi import WSGIServer
host='localhost'
app_server = WSGIServer((host, port), app)
app_server.serve_forever()
saurabh sharma