Spaces:
Running
Running
Update app.py
Browse files
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["
|
| 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, ""
|