kxx-kkk commited on
Commit
baaec0e
1 Parent(s): 569f8f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- button = st.button("Get answer")
76
- if button:
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..."):