qqwjq1981 commited on
Commit
40cc208
·
verified ·
1 Parent(s): c6210a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def transcribe_video_with_speakers(video_path):
196
  logger.info("WhisperX model loaded")
197
 
198
  # Transcribe
199
- result = model.transcribe(audio_path, chunk_size=5, print_progress = True)
200
  logger.info("Audio transcription completed")
201
 
202
  # Get the detected language
 
196
  logger.info("WhisperX model loaded")
197
 
198
  # Transcribe
199
+ result = model.transcribe(audio_path, chunk_size=10, print_progress = True)
200
  logger.info("Audio transcription completed")
201
 
202
  # Get the detected language