rohan13 commited on
Commit
56c467b
Β·
1 Parent(s): 057b045

updated index method in app.py

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