Hưng commited on
Commit
a0fbc02
·
1 Parent(s): 1b2848e

update model url

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,10 +23,10 @@ model = load_model(
23
  DiT,
24
  dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
25
  ckpt_path=str(
26
- cached_path("hf://whatvn/vietnamese-tts/model_960000.pt")
27
  ),
28
  mel_spec_type="vocos",
29
- vocab_file=str(cached_path("hf://whatvn/vietnamese-tts/vocab.txt")),
30
  )
31
 
32
 
@@ -68,7 +68,7 @@ def infer(ref_audio_orig: str, ref_text: str, gen_text: str, speed: float = 1.0)
68
 
69
  iface = gr.Interface(
70
  title="Vietnamese TTS",
71
- description="Vietnamese TTS model trained with public data (around 200 hours Vietnamese voice) using [F5-TTS](https://github.com/SWivid/F5-TTS) model. The model is published at https://huggingface.co/whatvn/vietnamese-tts",
72
  fn=infer,
73
  inputs=[
74
  gr.components.Audio(type="filepath", label="Reference Audio"),
 
23
  DiT,
24
  dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
25
  ckpt_path=str(
26
+ cached_path("hf://zalopay/vietnamese-tts/model_960000.pt")
27
  ),
28
  mel_spec_type="vocos",
29
+ vocab_file=str(cached_path("hf://zalopay/vietnamese-tts/vocab.txt")),
30
  )
31
 
32
 
 
68
 
69
  iface = gr.Interface(
70
  title="Vietnamese TTS",
71
+ description="Vietnamese TTS model trained with public data (around 200 hours Vietnamese voice) using [F5-TTS](https://github.com/SWivid/F5-TTS) model. The model is published at https://huggingface.co/zalopay/vietnamese-tts",
72
  fn=infer,
73
  inputs=[
74
  gr.components.Audio(type="filepath", label="Reference Audio"),