Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -93,8 +93,8 @@ with gr.Blocks() as demo:
|
|
93 |
console.log(chatbot)
|
94 |
}
|
95 |
"""
|
96 |
-
chatbot = gr.Chatbot()
|
97 |
-
chatbot.change(None,[chatbot],[],js=js
|
98 |
msg = gr.Textbox()
|
99 |
clear = gr.ClearButton([msg, chatbot])
|
100 |
|
|
|
93 |
console.log(chatbot)
|
94 |
}
|
95 |
"""
|
96 |
+
chatbot = gr.Chatbot(type="messages")
|
97 |
+
chatbot.change(None,[chatbot],[],js=js)
|
98 |
msg = gr.Textbox()
|
99 |
clear = gr.ClearButton([msg, chatbot])
|
100 |
|