Update app.py
Browse files
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 "
|
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 |
|