peterpeter8585 commited on
Commit
43d82f0
·
verified ·
1 Parent(s): 7cb9981

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -243,7 +243,7 @@ def chat(message, history):
243
  except Exception as e:
244
  text = str(raw)
245
  text=json.loads(text)
246
- text=text["output"]
247
 
248
  history = history + [(message, text)]
249
  return history, history, ""
 
243
  except Exception as e:
244
  text = str(raw)
245
  text=json.loads(text)
246
+ text=text["outputs"]
247
 
248
  history = history + [(message, text)]
249
  return history, history, ""