aaravlovescodes commited on
Commit
aaa6c56
1 Parent(s): cf6729a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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
- if output:
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)