Spaces:
Sleeping
Sleeping
tensorgirl
commited on
Update utils.py
Browse files
utils.py
CHANGED
@@ -127,7 +127,8 @@ def summary(input_json):
|
|
127 |
max_tokens=2000,
|
128 |
)
|
129 |
|
130 |
-
output['Long summary'] =
|
|
|
131 |
# response = client.images.generate(
|
132 |
# model="dall-e-3",
|
133 |
# prompt=headline.text,
|
|
|
127 |
max_tokens=2000,
|
128 |
)
|
129 |
|
130 |
+
output['Long summary'] = completion.choices[0].message.content
|
131 |
+
|
132 |
# response = client.images.generate(
|
133 |
# model="dall-e-3",
|
134 |
# prompt=headline.text,
|