srinivasbilla multimodalart HF staff commited on
Commit
9b73b99
Β·
verified Β·
1 Parent(s): c62210e

Increase duration for the 8B model (#1)

Browse files

- Increase duration for the *B model (38dc67843f9760bc66d8cbec8e9149b9954bbcda)


Co-authored-by: ApolinΓ‘rio from multimodal AI art <[email protected]>

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...')