Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ if question:
|
|
14 |
st.write("loading...")
|
15 |
|
16 |
answer = client.question_answering(question=question, context=context)
|
17 |
-
|
|
|
18 |
|
19 |
print("done")
|
20 |
|
|
|
14 |
st.write("loading...")
|
15 |
|
16 |
answer = client.question_answering(question=question, context=context)
|
17 |
+
answer_txt = answer["answer"]
|
18 |
+
st.write(f"User has sent the following prompt: {answer_txt}")
|
19 |
|
20 |
print("done")
|
21 |
|