Spaces:
Runtime error
Runtime error
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
|
@@ -119,7 +119,7 @@ def get_podcast_summary(podcast_transcript):
|
|
| 119 |
]
|
| 120 |
)
|
| 121 |
|
| 122 |
-
podcastSummary = chatOutput
|
| 123 |
|
| 124 |
return podcastSummary
|
| 125 |
|
|
|
|
| 119 |
]
|
| 120 |
)
|
| 121 |
|
| 122 |
+
podcastSummary = chatOutput.choices[0].message.content
|
| 123 |
|
| 124 |
return podcastSummary
|
| 125 |
|