Spaces:
Runtime error
Runtime error
Commit
·
8b09f28
1
Parent(s):
8fa0f4a
Added formatting to output of the model
Browse files
app.py
CHANGED
@@ -43,4 +43,15 @@ if uploaded_file is not None:
|
|
43 |
answer = question_answer(question=question, context=first_example)
|
44 |
|
45 |
# Present results
|
46 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
answer = question_answer(question=question, context=first_example)
|
44 |
|
45 |
# Present results
|
46 |
+
st.markdown(f"""
|
47 |
+
# Results
|
48 |
+
|
49 |
+
The review provided was:
|
50 |
+
|
51 |
+
{first_example}
|
52 |
+
|
53 |
+
The answer given to the question 'how to improve this recipe?' was:
|
54 |
+
|
55 |
+
{answer['answer']}
|
56 |
+
|
57 |
+
""")
|