Jeremy Live
commited on
Commit
·
04cad85
1
Parent(s):
a2670ba
upgrade v4
Browse files
app.py
CHANGED
@@ -242,7 +242,6 @@ async def stream_agent_response(question: str, chat_history: List) -> Tuple[List
|
|
242 |
error_msg = f"## ❌ Error\n\nOcurrió un error al procesar tu solicitud:\n\n```\n{str(e)}\n```"
|
243 |
chat_history[-1][1] = error_msg
|
244 |
yield chat_history, gr.update(visible=False)
|
245 |
-
return chat_history, gr.update(visible=False)
|
246 |
|
247 |
# Custom CSS for the app
|
248 |
custom_css = """
|
|
|
242 |
error_msg = f"## ❌ Error\n\nOcurrió un error al procesar tu solicitud:\n\n```\n{str(e)}\n```"
|
243 |
chat_history[-1][1] = error_msg
|
244 |
yield chat_history, gr.update(visible=False)
|
|
|
245 |
|
246 |
# Custom CSS for the app
|
247 |
custom_css = """
|