akhaliq HF Staff commited on
Commit
eefc4be
·
1 Parent(s): 5f2a64e
Files changed (1) hide show
  1. app.py +1 -1
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 [], [], None, "" # Empty lists for both tuple format and chatbot messages, None for file, empty string for website URL
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.