YoBatM commited on
Commit
2c87261
·
verified ·
1 Parent(s): b3e8424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)]