Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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()
|