Spaces:
Runtime error
Runtime error
Commit
•
bc6527c
1
Parent(s):
84a890c
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def chatbot(text):
|
|
16 |
|
17 |
def gradio_interface(prompt, history=[]):
|
18 |
output = chatbot(prompt)
|
19 |
-
history.append((prompt,output))
|
20 |
return history, history
|
21 |
|
22 |
gr.Interface(fn = gradio_interface,
|
|
|
16 |
|
17 |
def gradio_interface(prompt, history=[]):
|
18 |
output = chatbot(prompt)
|
19 |
+
history.append((prompt,output)).reverse()
|
20 |
return history, history
|
21 |
|
22 |
gr.Interface(fn = gradio_interface,
|