atsushieee commited on
Commit
072f330
·
1 Parent(s): 6079784

Update whisper/inference.py

Browse files
Files changed (1) hide show
  1. whisper/inference.py +1 -1
whisper/inference.py CHANGED
@@ -74,5 +74,5 @@ if __name__ == "__main__":
74
  ppgPath = args.ppg
75
 
76
  device = "cuda" if torch.cuda.is_available() else "cpu"
77
- whisper = load_model(os.path.join("whisper_pretrain", "large-v2.pt"), device)
78
  pred_ppg(whisper, wavPath, ppgPath, device)
 
74
  ppgPath = args.ppg
75
 
76
  device = "cuda" if torch.cuda.is_available() else "cpu"
77
+ whisper = load_model(os.path.join("/tmp/large-v2.pt"), device)
78
  pred_ppg(whisper, wavPath, ppgPath, device)