Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|