tahbert commited on
Commit
53e7fc6
·
verified ·
1 Parent(s): ee8c23a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ vocoder = load_vocoder()
41
  model = load_model(
42
  DiT,
43
  dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
44
- ckpt_path=str(cached_path("hf://nam194/F5-TTS-Vietnamese/model_350000.safetensors")),
45
- vocab_file=str(cached_path("hf://nam194/F5-TTS-Vietnamese/vocab.txt")),
46
  )
47
 
48
  def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):
 
41
  model = load_model(
42
  DiT,
43
  dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
44
+ ckpt_path=str(cached_path("hf://hynt/F5-TTS-Vietnamese-100h/model_500000.pt")),
45
+ vocab_file=str(cached_path("hf://hynt/F5-TTS-Vietnamese-100h/vocab.txt")),
46
  )
47
 
48
  def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):