Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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.
|
|
|
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"])
|