Hecheng0625 commited on
Commit
b0ba2e0
β€’
1 Parent(s): 8d25678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ import langid
24
 
25
  processor = SeamlessM4TFeatureExtractor.from_pretrained("facebook/w2v-bert-2.0")
26
 
27
- device = torch.device("cuda" if torch.cuda.is_available() else "CPU")
28
 
29
  whisper_model = whisper.load_model("turbo")
30
 
 
24
 
25
  processor = SeamlessM4TFeatureExtractor.from_pretrained("facebook/w2v-bert-2.0")
26
 
27
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
28
 
29
  whisper_model = whisper.load_model("turbo")
30