Spaces:
Build error
Build error
ShAnSantosh
commited on
Commit
•
95ebfbd
1
Parent(s):
505069b
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def predict(sentence, history=[]):
|
|
66 |
if tag == intent["tag"]:
|
67 |
reply = [random.choice(intent['responses'])]
|
68 |
history.append((sentence, reply))
|
69 |
-
return
|
70 |
|
71 |
import gradio as gr
|
72 |
|
|
|
66 |
if tag == intent["tag"]:
|
67 |
reply = [random.choice(intent['responses'])]
|
68 |
history.append((sentence, reply))
|
69 |
+
return history, history
|
70 |
|
71 |
import gradio as gr
|
72 |
|