Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ def bot(history):
|
|
42 |
return history
|
43 |
|
44 |
def infer(question):
|
45 |
-
|
46 |
query = question
|
47 |
result = qa({"question": query, "chat_history": chat_history})
|
48 |
-
|
49 |
return result["answer"]
|
50 |
|
51 |
css="""
|
|
|
42 |
return history
|
43 |
|
44 |
def infer(question):
|
45 |
+
print(chat_history)
|
46 |
query = question
|
47 |
result = qa({"question": query, "chat_history": chat_history})
|
48 |
+
print(result)
|
49 |
return result["answer"]
|
50 |
|
51 |
css="""
|