sparshmehta commited on
Commit
3289a6d
·
verified ·
1 Parent(s): 1c68fc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -664,7 +664,7 @@ class MentorEvaluator:
664
  logger.info("Attempting to initialize Whisper model...")
665
  # First try to initialize model with downloading allowed
666
  self._whisper_model = WhisperModel(
667
- "small",
668
  device="cpu",
669
  compute_type="int8",
670
  download_root=self.model_cache_dir,
@@ -677,7 +677,7 @@ class MentorEvaluator:
677
  try:
678
  logger.info("Attempting to load model from local cache...")
679
  self._whisper_model = WhisperModel(
680
- "small",
681
  device="cpu",
682
  compute_type="int8",
683
  download_root=self.model_cache_dir,
 
664
  logger.info("Attempting to initialize Whisper model...")
665
  # First try to initialize model with downloading allowed
666
  self._whisper_model = WhisperModel(
667
+ "medium",
668
  device="cpu",
669
  compute_type="int8",
670
  download_root=self.model_cache_dir,
 
677
  try:
678
  logger.info("Attempting to load model from local cache...")
679
  self._whisper_model = WhisperModel(
680
+ "medium",
681
  device="cpu",
682
  compute_type="int8",
683
  download_root=self.model_cache_dir,