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
- default_title = _data['word'][0]
 
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