app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,6 @@ with gr.Blocks() as demo:
|
|
| 95 |
else:
|
| 96 |
msg_x = None
|
| 97 |
for chunk in res.stream():
|
| 98 |
-
print(chunk)
|
| 99 |
if chunk.get("error") != None and chunk.get("error") != True and chunk.get("message") != None:
|
| 100 |
msg_x = chunk.get("message")
|
| 101 |
history[cnt][1] = msg_x
|
|
|
|
| 95 |
else:
|
| 96 |
msg_x = None
|
| 97 |
for chunk in res.stream():
|
|
|
|
| 98 |
if chunk.get("error") != None and chunk.get("error") != True and chunk.get("message") != None:
|
| 99 |
msg_x = chunk.get("message")
|
| 100 |
history[cnt][1] = msg_x
|