Spaces:
Sleeping
Sleeping
MikeTrizna
commited on
Commit
•
fa4049f
1
Parent(s):
749ccc3
Changed deploy mode for url params to work
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ def bhl_annoy_search(mode, query, k=5):
|
|
46 |
return neighbors
|
47 |
|
48 |
#DEPLOY_MODE = 'streamlit_share'
|
49 |
-
|
50 |
-
DEPLOY_MODE = 'localhost'
|
51 |
|
52 |
if DEPLOY_MODE == 'localhost':
|
53 |
BASE_URL = 'http://localhost:8501/'
|
|
|
46 |
return neighbors
|
47 |
|
48 |
#DEPLOY_MODE = 'streamlit_share'
|
49 |
+
DEPLOY_MODE = 'hf_spaces'
|
50 |
+
#DEPLOY_MODE = 'localhost'
|
51 |
|
52 |
if DEPLOY_MODE == 'localhost':
|
53 |
BASE_URL = 'http://localhost:8501/'
|