Spaces:
Runtime error
Runtime error
Push version 1 F5-TTS-Vietnamese-100h spaces
Browse files
app.py
CHANGED
|
@@ -42,6 +42,7 @@ model = load_model(
|
|
| 42 |
vocab_file=str(cached_path("hf://hynt/F5-TTS-Vietnamese-100h/vocab.txt")),
|
| 43 |
)
|
| 44 |
|
|
|
|
| 45 |
def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):
|
| 46 |
|
| 47 |
if not ref_audio_orig:
|
|
|
|
| 42 |
vocab_file=str(cached_path("hf://hynt/F5-TTS-Vietnamese-100h/vocab.txt")),
|
| 43 |
)
|
| 44 |
|
| 45 |
+
@spaces.GPU
|
| 46 |
def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):
|
| 47 |
|
| 48 |
if not ref_audio_orig:
|