Update app.py
Browse files
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("
|
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)
|