Spaces:
Runtime error
Runtime error
Raghavan1988
commited on
Commit
·
af23861
1
Parent(s):
7bd7744
Commenting out the model loading part
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ MAX_INPUT_AUDIO_LENGTH = 60 # in seconds
|
|
27 |
|
28 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
29 |
|
30 |
-
processor = AutoProcessor.from_pretrained("ylacombe/hf-seamless-m4t-large")
|
31 |
-
model = SeamlessM4TModel.from_pretrained("ylacombe/hf-seamless-m4t-large").to(device)
|
32 |
|
33 |
|
34 |
def predict(
|
|
|
27 |
|
28 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
29 |
|
30 |
+
#processor = AutoProcessor.from_pretrained("ylacombe/hf-seamless-m4t-large")
|
31 |
+
#model = SeamlessM4TModel.from_pretrained("ylacombe/hf-seamless-m4t-large").to(device)
|
32 |
|
33 |
|
34 |
def predict(
|