Spaces:
Runtime error
Runtime error
js code for sample queries
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from gevent import monkey
|
|
8 |
monkey.patch_all(ssl=False)
|
9 |
app = Flask(__name__)
|
10 |
app.config['SECRET_KEY'] = 'secret!'
|
11 |
-
socketio = SocketIO(app, cors_allowed_origins="*")
|
12 |
cors = CORS(app)
|
13 |
|
14 |
executor = Executor(app)
|
|
|
8 |
monkey.patch_all(ssl=False)
|
9 |
app = Flask(__name__)
|
10 |
app.config['SECRET_KEY'] = 'secret!'
|
11 |
+
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='gevent', logger=True)
|
12 |
cors = CORS(app)
|
13 |
|
14 |
executor = Executor(app)
|