kxx-kkk commited on
Commit
7d6adef
·
verified ·
1 Parent(s): d73a243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def question_answering(context, question):
31
  answer = answer["answer"]
32
  # display the result in container
33
  container = st.container(border=True)
34
- container.write("<h5><b>Answer:</b></h5>" + answer + "<hr><p><small>F1 score: " + answer_score + "</small></p><br>", unsafe_allow_html=True)
35
 
36
  # choose the source with different tabs
37
  tab1, tab2 = st.tabs(["Input text", "Upload File"])
 
31
  answer = answer["answer"]
32
  # display the result in container
33
  container = st.container(border=True)
34
+ container.write("<h5><b>Answer:</b></h5>" + answer + "<p><small>F1 score: " + answer_score + "</small></p><br>", unsafe_allow_html=True)
35
 
36
  # choose the source with different tabs
37
  tab1, tab2 = st.tabs(["Input text", "Upload File"])