AkitoP commited on
Commit
701bc9f
1 Parent(s): 2f3ac71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def get_spepc(hps, filename):
142
  return spec
143
 
144
  def create_tts_fn(vq_model, ssl_model, t2s_model, hps, config, hz, max_sec):
145
- @spaces.GPU(duration=10)
146
  def tts_fn(ref_wav_path, prompt_text, prompt_language, target_phone, text_language, target_text = None):
147
  t0 = ttime()
148
  prompt_text=prompt_text.strip()
 
142
  return spec
143
 
144
  def create_tts_fn(vq_model, ssl_model, t2s_model, hps, config, hz, max_sec):
145
+ @spaces.GPU(duration=30)
146
  def tts_fn(ref_wav_path, prompt_text, prompt_language, target_phone, text_language, target_text = None):
147
  t0 = ttime()
148
  prompt_text=prompt_text.strip()