vvv-knyazeva commited on
Commit
f808445
1 Parent(s): 3ed058d

Update pages/answers.py

Browse files
Files changed (1) hide show
  1. pages/answers.py +2 -2
pages/answers.py CHANGED
@@ -23,14 +23,14 @@ def get_answer(context, question):
23
  def main():
24
  st.title("Question Answering App :robot_face:")
25
  st.divider()
26
- st.markdown("### **Enter the context and question, then click on 'Get Answer' to retrieve the answer:**")
27
 
28
 
29
  context = st.text_area("**:red[Context]**", "Enter the context here...")
30
  question = st.text_input("**:red[Question]**", "Enter the question here...")
31
 
32
 
33
- if st.button("**Get Answer**"):
34
 
35
  if context.strip() == "" or question.strip() == "":
36
  st.warning("Please enter the context and question.")
 
23
  def main():
24
  st.title("Question Answering App :robot_face:")
25
  st.divider()
26
+ st.markdown("### **Enter the context and question, then click on :blue['Get Answer'] to retrieve the answer:**")
27
 
28
 
29
  context = st.text_area("**:red[Context]**", "Enter the context here...")
30
  question = st.text_input("**:red[Question]**", "Enter the question here...")
31
 
32
 
33
+ if st.button(":blue[**Get Answer**]"):
34
 
35
  if context.strip() == "" or question.strip() == "":
36
  st.warning("Please enter the context and question.")