Spaces:
Sleeping
Sleeping
File size: 266 Bytes
ec14c0e |
1 2 3 4 5 6 7 8 9 10 11 12 |
from flask import Flask
from flask_socketio import SocketIO
app = Flask(__name__)
socketio = SocketIO(app)
@app.route('/')
def index():
return 'Hello, World!'
if __name__ == '__main__':
socketio.run(app,port=7860,allow_unsafe_werkzeug=True,host='0.0.0.0') |