AnalysisWithMSR commited on
Commit
edf287a
·
verified ·
1 Parent(s): b6af88c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def download_and_transcribe_with_whisper(youtube_url):
72
  audio.export(wav_file, format="wav")
73
 
74
  # Run Whisper transcription
75
- model = whisper.load_model("large")
76
  result = model.transcribe(wav_file)
77
  transcript = result['text']
78
  return transcript
 
72
  audio.export(wav_file, format="wav")
73
 
74
  # Run Whisper transcription
75
+ model = whisper.load_model("turbo")
76
  result = model.transcribe(wav_file)
77
  transcript = result['text']
78
  return transcript