Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ FRONT_LOG_FILE = 'front_log.json'
|
|
| 61 |
def index():
|
| 62 |
user_ip = request.remote_addr
|
| 63 |
logger.info(f'USER {user_ip} - ID {id} - started the app')
|
| 64 |
-
return
|
| 65 |
|
| 66 |
@app.route("/recommend", methods=['GET'])
|
| 67 |
@cross_origin()
|
|
|
|
| 61 |
def index():
|
| 62 |
user_ip = request.remote_addr
|
| 63 |
logger.info(f'USER {user_ip} - ID {id} - started the app')
|
| 64 |
+
return app.send_static_file('demo/index.html')
|
| 65 |
|
| 66 |
@app.route("/recommend", methods=['GET'])
|
| 67 |
@cross_origin()
|