Spaces:
Running
Running
Update generate_transcript.py
Browse files- generate_transcript.py +1 -1
generate_transcript.py
CHANGED
|
@@ -191,7 +191,7 @@ class TranscriptProcessor:
|
|
| 191 |
model=self.model_name,
|
| 192 |
)
|
| 193 |
|
| 194 |
-
rewritten_transcript =chat_completion.choices[0].message.content
|
| 195 |
|
| 196 |
# Save the rewritten transcript as a pickle file
|
| 197 |
with open(self.tts_output_path, 'wb') as f:
|
|
|
|
| 191 |
model=self.model_name,
|
| 192 |
)
|
| 193 |
|
| 194 |
+
rewritten_transcript = self.extract_tuple(chat_completion.choices[0].message.content)
|
| 195 |
|
| 196 |
# Save the rewritten transcript as a pickle file
|
| 197 |
with open(self.tts_output_path, 'wb') as f:
|