Spaces:
Sleeping
Sleeping
Solarum Asteridion
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,7 +192,7 @@ with gr.Blocks(css="""
|
|
| 192 |
send = gr.Button("➤", elem_id="send-button")
|
| 193 |
with gr.Row():
|
| 194 |
clear = gr.Button("Clear Chat", elem_id="clear-button")
|
| 195 |
-
|
| 196 |
def update_chat(user_message, history):
|
| 197 |
if user_message.strip() == "":
|
| 198 |
return history, history # Do not process empty messages
|
|
|
|
| 192 |
send = gr.Button("➤", elem_id="send-button")
|
| 193 |
with gr.Row():
|
| 194 |
clear = gr.Button("Clear Chat", elem_id="clear-button")
|
| 195 |
+
|
| 196 |
def update_chat(user_message, history):
|
| 197 |
if user_message.strip() == "":
|
| 198 |
return history, history # Do not process empty messages
|