hynt commited on
Commit
f2ebbb6
·
1 Parent(s): 0bcc2da

Push version 1 F5-TTS-Vietnamese-100h spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: