Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
|
@@ -2978,7 +2978,7 @@ def history_render(history: History):
|
|
| 2978 |
return gr.update(visible=True), history
|
| 2979 |
|
| 2980 |
def clear_history():
|
| 2981 |
-
return [], []
|
| 2982 |
|
| 2983 |
def create_multimodal_message(text, image=None):
|
| 2984 |
"""Create a chat message. For broad provider compatibility, always return content as a string.
|
|
|
|
| 2978 |
return gr.update(visible=True), history
|
| 2979 |
|
| 2980 |
def clear_history():
|
| 2981 |
+
return [], [] # Empty lists for both history and chatbot messages
|
| 2982 |
|
| 2983 |
def create_multimodal_message(text, image=None):
|
| 2984 |
"""Create a chat message. For broad provider compatibility, always return content as a string.
|