Spaces:
Sleeping
Sleeping
Commit
·
bcc7659
1
Parent(s):
688f875
adding chatbot
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def infer(question, history):
|
|
110 |
|
111 |
chat_history = res
|
112 |
result = qa({"query": question})
|
113 |
-
return result["
|
114 |
|
115 |
def bot(history):
|
116 |
response = infer(history[-1][0], history)
|
|
|
110 |
|
111 |
chat_history = res
|
112 |
result = qa({"query": question})
|
113 |
+
return result["result"]
|
114 |
|
115 |
def bot(history):
|
116 |
response = infer(history[-1][0], history)
|