Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
|
|
91 |
|
92 |
chatbot = gr.Chatbot()
|
93 |
msg = gr.Textbox(placeholder="Type your message and press Enter...")
|
94 |
-
clear_btn = gr.Button("🔄 Reset
|
95 |
|
96 |
# عند الإرسال، تُنفذ الدالة وتُحدث الـchatbot
|
97 |
msg.submit(fn=gradio_chat, inputs=msg, outputs=chatbot, scroll_to_output=True)
|
|
|
91 |
|
92 |
chatbot = gr.Chatbot()
|
93 |
msg = gr.Textbox(placeholder="Type your message and press Enter...")
|
94 |
+
clear_btn = gr.Button("🔄 Reset memory")
|
95 |
|
96 |
# عند الإرسال، تُنفذ الدالة وتُحدث الـchatbot
|
97 |
msg.submit(fn=gradio_chat, inputs=msg, outputs=chatbot, scroll_to_output=True)
|