fffiloni commited on
Commit
f16be9d
·
1 Parent(s): 3f410fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def infer(question, history):
58
  query = question
59
  result = qa({"question": query, "chat_history": chat_history})
60
  #print(result)
61
- return result["answer"]
62
 
63
  css="""
64
  #col-container {max-width: 700px; margin-left: auto; margin-right: auto;}
 
58
  query = question
59
  result = qa({"question": query, "chat_history": chat_history})
60
  #print(result)
61
+ yield result["answer"]
62
 
63
  css="""
64
  #col-container {max-width: 700px; margin-left: auto; margin-right: auto;}