Spaces:
Runtime error
Runtime error
updated index method in app.py
Browse files
app.py
CHANGED
@@ -5,7 +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 |
-
from utils import
|
9 |
|
10 |
from main import run
|
11 |
|
@@ -23,7 +23,7 @@ app.config['EXECUTOR_MAX_WORKERS'] = 5
|
|
23 |
|
24 |
@app.route('/')
|
25 |
def index():
|
26 |
-
|
27 |
return render_template('index.html')
|
28 |
|
29 |
|
|
|
5 |
from flask_executor import Executor
|
6 |
from flask_socketio import SocketIO, emit
|
7 |
from gevent import monkey
|
8 |
+
from utils import get_search_index
|
9 |
|
10 |
from main import run
|
11 |
|
|
|
23 |
|
24 |
@app.route('/')
|
25 |
def index():
|
26 |
+
get_search_index()
|
27 |
return render_template('index.html')
|
28 |
|
29 |
|