kxx-kkk commited on
Commit
0b4cb0b
1 Parent(s): 105f589

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ with tab1:
32
  with st.spinner(text="Getting answer..."):
33
  answer = question_answerer(context=context, question=question)
34
  answer = answer["answer"]
35
- st.success(answer, icon="✅", unsafe_allow_html=True)
 
36
 
37
  with tab2:
38
  uploaded_file = st.file_uploader("Choose a .txt file to upload", type=["txt"])
 
32
  with st.spinner(text="Getting answer..."):
33
  answer = question_answerer(context=context, question=question)
34
  answer = answer["answer"]
35
+ container = st.container(border=True)
36
+ container.write("<p><b>Answer: </b></p><hr>" + answer, unsafe_allow_html=True)
37
 
38
  with tab2:
39
  uploaded_file = st.file_uploader("Choose a .txt file to upload", type=["txt"])