Spaces:
Build error
Build error
reset session
Browse files
app.py
CHANGED
@@ -42,6 +42,7 @@ def generate_graph():
|
|
42 |
st.success('Done!')
|
43 |
|
44 |
def show_suggestion():
|
|
|
45 |
with st.spinner(text="fetching wiki topics..."):
|
46 |
if st.session_state['input_method'] == "wikipedia":
|
47 |
text = st.session_state.text
|
|
|
42 |
st.success('Done!')
|
43 |
|
44 |
def show_suggestion():
|
45 |
+
reset_session()
|
46 |
with st.spinner(text="fetching wiki topics..."):
|
47 |
if st.session_state['input_method'] == "wikipedia":
|
48 |
text = st.session_state.text
|