Update app.py
Browse files
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 |
-
|
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;}
|