Update app.py
Browse files
app.py
CHANGED
|
@@ -561,7 +561,7 @@ def generate(message, temperature):
|
|
| 561 |
#timeout=30,
|
| 562 |
)
|
| 563 |
|
| 564 |
-
response = stream.
|
| 565 |
|
| 566 |
# The reason why the library method is not used here is that if an error occurs,
|
| 567 |
# the returned data will not be a stream, and using the official library will result in an error.
|
|
|
|
| 561 |
#timeout=30,
|
| 562 |
)
|
| 563 |
|
| 564 |
+
response = stream.output
|
| 565 |
|
| 566 |
# The reason why the library method is not used here is that if an error occurs,
|
| 567 |
# the returned data will not be a stream, and using the official library will result in an error.
|