ailearnings commited on
Commit
8c564bb
·
verified ·
1 Parent(s): 27e2077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ def llm_function(message, chat_history ):
169
  return "Hubo un error al procesar tu mensaje."
170
  except Exception as e:
171
  logging.error(f"Error al procesar el mensaje: {e}")
172
- return "Hubo un error al procesar tu mensaje, revisa que sea un mensaje completo."
173
 
174
  def llm_function_with_timeout(message, chat_history, timeout=180):
175
  result = [None] # Lista para almacenar el resultado
 
169
  return "Hubo un error al procesar tu mensaje."
170
  except Exception as e:
171
  logging.error(f"Error al procesar el mensaje: {e}")
172
+ return f"Hubo un error al procesar tu mensaje, revisa que sea un mensaje completo. {e}"
173
 
174
  def llm_function_with_timeout(message, chat_history, timeout=180):
175
  result = [None] # Lista para almacenar el resultado