Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ try:
|
|
| 163 |
#if option_selected:
|
| 164 |
# st.experimental_set_query_params(option=option_selected)
|
| 165 |
except: # catch exception and set query param to predefined value
|
| 166 |
-
st.experimental_set_query_params(
|
| 167 |
query_params = st.experimental_get_query_params()
|
| 168 |
#query_option = query_params['option'][0]
|
| 169 |
query_option = query_params['query'][0]
|
|
|
|
| 163 |
#if option_selected:
|
| 164 |
# st.experimental_set_query_params(option=option_selected)
|
| 165 |
except: # catch exception and set query param to predefined value
|
| 166 |
+
st.experimental_set_query_params(query="Genomics") # defaults to dog
|
| 167 |
query_params = st.experimental_get_query_params()
|
| 168 |
#query_option = query_params['option'][0]
|
| 169 |
query_option = query_params['query'][0]
|