Deepakkori45 commited on
Commit
469f0e5
·
verified ·
1 Parent(s): b1c221d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def load_whisper_model():
26
  Load the Whisper model and processor from Hugging Face.
27
  Change 'openai/whisper-base' to another variant if needed.
28
  """
29
- model_name = "openai/whisper-medium"
30
  processor = WhisperProcessor.from_pretrained(model_name)
31
  model = WhisperForConditionalGeneration.from_pretrained(model_name)
32
  return processor, model
 
26
  Load the Whisper model and processor from Hugging Face.
27
  Change 'openai/whisper-base' to another variant if needed.
28
  """
29
+ model_name = "openai/whisper-Small"
30
  processor = WhisperProcessor.from_pretrained(model_name)
31
  model = WhisperForConditionalGeneration.from_pretrained(model_name)
32
  return processor, model