Spaces:
Runtime error
Runtime error
Update appStore/keyword_search.py
Browse files
appStore/keyword_search.py
CHANGED
@@ -76,7 +76,7 @@ def app():
|
|
76 |
#st.markdown("## ๐ Step One: Upload document ")
|
77 |
|
78 |
with st.container():
|
79 |
-
file = st.
|
80 |
question = st.text_input("Please enter your question here, we will look for the answer in the document.",
|
81 |
value="What particular risks does climate change pose for women?",)
|
82 |
if st.button("Find them."):
|
|
|
76 |
#st.markdown("## ๐ Step One: Upload document ")
|
77 |
|
78 |
with st.container():
|
79 |
+
file = st.session_state['file']
|
80 |
question = st.text_input("Please enter your question here, we will look for the answer in the document.",
|
81 |
value="What particular risks does climate change pose for women?",)
|
82 |
if st.button("Find them."):
|