rohan13 commited on
Commit
defb054
·
1 Parent(s): 83aabf7

js code for sample queries

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)