Spaces:
Runtime error
Runtime error
decrease duration
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ model = SeamlessM4Tv2Model.from_pretrained("facebook/seamless-m4t-v2-large").to(
|
|
47 |
# model = SeamlessM4TModel.from_pretrained("facebook/hf-seamless-m4t-medium").to(device)
|
48 |
|
49 |
|
50 |
-
@spaces.GPU(duration=
|
51 |
def predict(
|
52 |
task_name: str,
|
53 |
audio_source: str,
|
|
|
47 |
# model = SeamlessM4TModel.from_pretrained("facebook/hf-seamless-m4t-medium").to(device)
|
48 |
|
49 |
|
50 |
+
@spaces.GPU(duration=30)
|
51 |
def predict(
|
52 |
task_name: str,
|
53 |
audio_source: str,
|