lijiacai commited on
Commit
a922266
1 Parent(s): 6ec52a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ import py3langid as langid
22
 
23
 
24
  processor = SeamlessM4TFeatureExtractor.from_pretrained("facebook/w2v-bert-2.0")
25
- device = torch.device("cuda" if torch.cuda.is_available() else "CPU")
26
  whisper_model = None
27
  output_file_name_idx = 0
28
 
 
22
 
23
 
24
  processor = SeamlessM4TFeatureExtractor.from_pretrained("facebook/w2v-bert-2.0")
25
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
26
  whisper_model = None
27
  output_file_name_idx = 0
28