S-MurilloG commited on
Commit
209b99f
·
1 Parent(s): 71ef869

Updating application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ with gr.Blocks() as app:
56
  def update_chat(api_key, message):
57
  response = chat_with_carse(api_key, message)
58
  # Formatear el historial para mostrar los nombres reales
59
- display_chat_history = "\n".join([f"{msg['name']}: {msg['content']}" for msg in conversation_history])
60
  return display_chat_history, ""
61
 
62
 
 
56
  def update_chat(api_key, message):
57
  response = chat_with_carse(api_key, message)
58
  # Formatear el historial para mostrar los nombres reales
59
+ display_chat_history = "\n\n".join([f"{msg['name']}: {msg['content']}" for msg in conversation_history])
60
  return display_chat_history, ""
61
 
62