camparchimedes commited on
Commit
0b0bb20
·
verified ·
1 Parent(s): 0634e0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ warnings.filterwarnings("ignore")
24
  HF_AUTH_TOKEN = os.getenv('HF_AUTH_TOKEN')
25
 
26
 
27
- # model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
28
- # processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
29
 
30
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
31
  torch_dtype = torch.float32
 
24
  HF_AUTH_TOKEN = os.getenv('HF_AUTH_TOKEN')
25
 
26
 
27
+ model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
28
+ processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
29
 
30
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
31
  torch_dtype = torch.float32