yasserrmd commited on
Commit
4c1ed9c
1 Parent(s): beb79e1

Update generate_transcript.py

Browse files
Files changed (1) hide show
  1. 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: