Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ from st_click_detector import click_detector
|
|
14 |
|
15 |
# check if here for the first time then set the query
|
16 |
if 'query' not in st.session_state:
|
17 |
-
|
18 |
query = st.text_input("", value="artificial intelligence", key="query")
|
19 |
-
st.session_state.query = 'AI'
|
20 |
st.write(st.session_state.query)
|
21 |
else:
|
22 |
query = st.text_input("", value=st.session_state["query"], key="query")
|
|
|
14 |
|
15 |
# check if here for the first time then set the query
|
16 |
if 'query' not in st.session_state:
|
17 |
+
st.session_state['query'] = 'AI'
|
18 |
query = st.text_input("", value="artificial intelligence", key="query")
|
19 |
+
#st.session_state.query = 'AI'
|
20 |
st.write(st.session_state.query)
|
21 |
else:
|
22 |
query = st.text_input("", value=st.session_state["query"], key="query")
|