Spaces:
Runtime error
Runtime error
sarath-shekkizhar
commited on
Commit
•
ccfa62c
1
Parent(s):
43a032b
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def generate(
|
|
46 |
)
|
47 |
outputs = []
|
48 |
for chunk in response:
|
49 |
-
outputs.append(chunk.choices[0].delta.content
|
50 |
yield "".join(outputs)
|
51 |
|
52 |
except APIError as e:
|
|
|
46 |
)
|
47 |
outputs = []
|
48 |
for chunk in response:
|
49 |
+
outputs.append(chunk.choices[0].delta.content)
|
50 |
yield "".join(outputs)
|
51 |
|
52 |
except APIError as e:
|