Spaces:
Runtime error
Runtime error
anonymousauthors
commited on
Commit
β’
d8663a9
1
Parent(s):
7ac37f6
Update pages/0_π_Dictionary_(Search).py
Browse files
pages/0_π_Dictionary_(Search).py
CHANGED
@@ -24,7 +24,8 @@ st.sidebar.header("π Dictionary")
|
|
24 |
_data = st.experimental_get_query_params()
|
25 |
default_title = 'Asian'
|
26 |
if _data:
|
27 |
-
|
|
|
28 |
|
29 |
title = st.sidebar.text_input(":red[Search secret languages given the following word (case-sensitive)]", default_title)
|
30 |
|
|
|
24 |
_data = st.experimental_get_query_params()
|
25 |
default_title = 'Asian'
|
26 |
if _data:
|
27 |
+
if 'word' in _data.keys()
|
28 |
+
default_title = _data['word'][0]
|
29 |
|
30 |
title = st.sidebar.text_input(":red[Search secret languages given the following word (case-sensitive)]", default_title)
|
31 |
|