Spaces:
Runtime error
Runtime error
Commit
·
d317910
1
Parent(s):
995f922
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,8 @@ def generate(
|
|
| 45 |
print("erreur sur le dict")
|
| 46 |
|
| 47 |
for response in stream:
|
|
|
|
|
|
|
| 48 |
output += response.token.text
|
| 49 |
yield output
|
| 50 |
return output
|
|
|
|
| 45 |
print("erreur sur le dict")
|
| 46 |
|
| 47 |
for response in stream:
|
| 48 |
+
print(response, response.__dir__())
|
| 49 |
+
|
| 50 |
output += response.token.text
|
| 51 |
yield output
|
| 52 |
return output
|