Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def get_spepc(hps, filename):
|
|
133 |
return spec
|
134 |
|
135 |
def create_tts_fn(vq_model, ssl_model, t2s_model, hps, config, hz, max_sec):
|
136 |
-
@spaces.GPU(duration=
|
137 |
def tts_fn(ref_wav_path, prompt_text, prompt_language, target_phone, text_language, target_text = None):
|
138 |
t0 = ttime()
|
139 |
prompt_text=prompt_text.strip()
|
|
|
133 |
return spec
|
134 |
|
135 |
def create_tts_fn(vq_model, ssl_model, t2s_model, hps, config, hz, max_sec):
|
136 |
+
@spaces.GPU(duration=20)
|
137 |
def tts_fn(ref_wav_path, prompt_text, prompt_language, target_phone, text_language, target_text = None):
|
138 |
t0 = ttime()
|
139 |
prompt_text=prompt_text.strip()
|