Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ def chat(user_input):
|
|
| 126 |
else:
|
| 127 |
gradio_history[-1] = (gradio_history[-1][0], turn["text"])
|
| 128 |
|
| 129 |
-
|
| 130 |
|
| 131 |
with gr.Blocks() as demo:
|
| 132 |
chatbot = gr.Chatbot(label="Adaptive CEFR chatbot")
|
|
|
|
| 126 |
else:
|
| 127 |
gradio_history[-1] = (gradio_history[-1][0], turn["text"])
|
| 128 |
|
| 129 |
+
return gradio_history, ""
|
| 130 |
|
| 131 |
with gr.Blocks() as demo:
|
| 132 |
chatbot = gr.Chatbot(label="Adaptive CEFR chatbot")
|