qqwjq1981 commited on
Commit
a75c073
·
verified ·
1 Parent(s): 9c58d6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def transcribe_video(video_path):
116
  video.audio.write_audiofile(audio_path)
117
 
118
  # Load Whisper model
119
- model = whisper.load_model("base") # Options: tiny, base, small, medium, large
120
 
121
  # Transcribe with Whisper
122
  result = model.transcribe(audio_path, word_timestamps=True)
 
116
  video.audio.write_audiofile(audio_path)
117
 
118
  # Load Whisper model
119
+ model = whisper.load_model("large") # Options: tiny, base, small, medium, large
120
 
121
  # Transcribe with Whisper
122
  result = model.transcribe(audio_path, word_timestamps=True)