Spaces:
Running
on
Zero
Running
on
Zero
Increase duration for the *B model
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def extract_speech_ids(speech_tokens_str):
|
|
55 |
print(f"Unexpected token: {token_str}")
|
56 |
return speech_ids
|
57 |
|
58 |
-
@spaces.GPU(duration=
|
59 |
def infer(sample_audio_path, target_text, progress=gr.Progress()):
|
60 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as f:
|
61 |
progress(0, 'Loading and trimming audio...')
|
|
|
55 |
print(f"Unexpected token: {token_str}")
|
56 |
return speech_ids
|
57 |
|
58 |
+
@spaces.GPU(duration=90)
|
59 |
def infer(sample_audio_path, target_text, progress=gr.Progress()):
|
60 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as f:
|
61 |
progress(0, 'Loading and trimming audio...')
|