Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ with tab2:
|
|
72 |
question = st.text_input(label="Enter your question", value=sample_question)
|
73 |
|
74 |
# perform question answering when "get answer" button clicked
|
75 |
-
|
76 |
-
if
|
77 |
with st.spinner(text="Loading question model..."):
|
78 |
question_answerer = question_model()
|
79 |
with st.spinner(text="Getting answer..."):
|
|
|
72 |
question = st.text_input(label="Enter your question", value=sample_question)
|
73 |
|
74 |
# perform question answering when "get answer" button clicked
|
75 |
+
button2 = st.button("Get answer")
|
76 |
+
if button2:
|
77 |
with st.spinner(text="Loading question model..."):
|
78 |
question_answerer = question_model()
|
79 |
with st.spinner(text="Getting answer..."):
|