Jahmori commited on
Commit
29ce2e6
·
1 Parent(s): 896f6de

converted transcription chunks to list before appending

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -198,7 +198,8 @@ def process_audio(mixture):
198
  log[speaker_key]["transcriptions"] = transcriptions
199
 
200
 
201
- segments = transcriptions["chunks"]
 
202
 
203
 
204
  for segment in segments:
 
198
  log[speaker_key]["transcriptions"] = transcriptions
199
 
200
 
201
+ segments = list(transcriptions["chunks"])
202
+
203
 
204
 
205
  for segment in segments: