yufii commited on
Commit
dba1e8a
·
verified ·
1 Parent(s): 59c18e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ os.makedirs(cache_dir, exist_ok=True)
43
  whisper_model = whisper.load_model("tiny", download_root=cache_dir)
44
 
45
  # загрузка параметров модели
46
- filepath = os.path.abspath("best_model_mfcc.h5")
47
  if not os.path.exists(filepath):
48
  raise FileNotFoundError(f"Model file not found at {filepath}")
49
 
 
43
  whisper_model = whisper.load_model("tiny", download_root=cache_dir)
44
 
45
  # загрузка параметров модели
46
+ filepath = os.path.abspath("best_model.h5")
47
  if not os.path.exists(filepath):
48
  raise FileNotFoundError(f"Model file not found at {filepath}")
49