Spaces:
Sleeping
Sleeping
mrfakename
commited on
Commit
•
e2646fd
1
Parent(s):
626f70a
Update app.py
Browse files
app.py
CHANGED
@@ -209,7 +209,7 @@ def split_text_into_batches(text, max_chars=200, split_words=SPLIT_WORDS):
|
|
209 |
batches.append(current_batch)
|
210 |
|
211 |
return batches
|
212 |
-
|
213 |
def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence, progress=gr.Progress()):
|
214 |
if exp_name == "F5-TTS":
|
215 |
ema_model = F5TTS_ema_model
|
|
|
209 |
batches.append(current_batch)
|
210 |
|
211 |
return batches
|
212 |
+
@spaces.GPU
|
213 |
def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence, progress=gr.Progress()):
|
214 |
if exp_name == "F5-TTS":
|
215 |
ema_model = F5TTS_ema_model
|