Devubiodee commited on
Commit
6cbf652
·
verified ·
1 Parent(s): 369df34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def transcribe_and_translate(audio_filepath):
45
 
46
  try:
47
  # Load Whisper model (use "base" or "small" if "medium" is too slow on CPU)
48
- model = whisper.load_model("medium")
49
 
50
  # Transcribe
51
  result = model.transcribe(audio_filepath, language="en")
 
45
 
46
  try:
47
  # Load Whisper model (use "base" or "small" if "medium" is too slow on CPU)
48
+ model = whisper.load_model("small")
49
 
50
  # Transcribe
51
  result = model.transcribe(audio_filepath, language="en")