Spaces:
Runtime error
Runtime error
aaravlovescodes
commited on
Commit
•
aaa6c56
1
Parent(s):
cf6729a
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,4 @@ def query(payload):
|
|
37 |
|
38 |
if st.button("Send"):
|
39 |
output = query({"inputs": {"question": text_question, "context": text_input}})
|
40 |
-
|
41 |
-
answer = output["answer"]
|
42 |
-
st.header(f"Answer: {answer}")
|
43 |
-
|
|
|
37 |
|
38 |
if st.button("Send"):
|
39 |
output = query({"inputs": {"question": text_question, "context": text_input}})
|
40 |
+
st.write(output)
|
|
|
|
|
|