rohan13 commited on
Commit
9e9a41a
Β·
1 Parent(s): 15e1630

port updated

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,6 +5,7 @@ from flask_cors import CORS
5
  from flask_executor import Executor
6
  from flask_socketio import SocketIO, emit
7
  from gevent import monkey
 
8
 
9
  from main import run
10
 
@@ -22,6 +23,7 @@ app.config['EXECUTOR_MAX_WORKERS'] = 5
22
 
23
  @app.route('/')
24
  def index():
 
25
  return render_template('index.html')
26
 
27
 
@@ -45,4 +47,4 @@ def handle_message(data):
45
 
46
 
47
  if __name__ == '__main__':
48
- socketio.run(app, use_reloader=True)
 
5
  from flask_executor import Executor
6
  from flask_socketio import SocketIO, emit
7
  from gevent import monkey
8
+ from utils import create_index
9
 
10
  from main import run
11
 
 
23
 
24
  @app.route('/')
25
  def index():
26
+ create_index()
27
  return render_template('index.html')
28
 
29
 
 
47
 
48
 
49
  if __name__ == '__main__':
50
+ socketio.run(app, port=7860, use_reloader=True)