Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,6 +62,7 @@ def reply(msg,history):
|
|
62 |
try:
|
63 |
l=loads(p)
|
64 |
except Exception as e:
|
|
|
65 |
print(p,"->")
|
66 |
historias.pop(0)
|
67 |
resp=[gr.Textbox(value=l.get("msg")),gr.Chatbot(value=llamatochat(historias),visible=False)]
|
|
|
62 |
try:
|
63 |
l=loads(p)
|
64 |
except Exception as e:
|
65 |
+
l={"msg":"Ocurrio un error","ops":0}
|
66 |
print(p,"->")
|
67 |
historias.pop(0)
|
68 |
resp=[gr.Textbox(value=l.get("msg")),gr.Chatbot(value=llamatochat(historias),visible=False)]
|