multimodalart HF staff commited on
Commit
38dc678
·
verified ·
1 Parent(s): c62210e

Increase duration for the *B model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=60)
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...')