Karayakar commited on
Commit
4b267c5
·
verified ·
1 Parent(s): 966d3e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ DEFAULT_TTS_MODEL = "F5-TTS"
45
  tts_model_choice = DEFAULT_TTS_MODEL
46
 
47
  DEFAULT_TTS_MODEL_CFG = [
48
- "hf://Karayakar/F5-TTS-Turkish/model_1200000.safetensors",
49
  "hf://Karayakar/F5-TTS-Turkish/vocab.txt",
50
  json.dumps(dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)),
51
  ]
@@ -56,7 +56,7 @@ DEFAULT_TTS_MODEL_CFG = [
56
  vocoder = load_vocoder()
57
 
58
 
59
- def load_f5tts(ckpt_path=str(cached_path("hf://Karayakar/F5-TTS-Turkish/model_1200000.safetensors"))):
60
  F5TTS_model_cfg = dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)
61
  return load_model(DiT, F5TTS_model_cfg, ckpt_path)
62
 
 
45
  tts_model_choice = DEFAULT_TTS_MODEL
46
 
47
  DEFAULT_TTS_MODEL_CFG = [
48
+ "hf://Karayakar/F5-TTS-Turkish/f5_tts_turkish_800000.safetensors",
49
  "hf://Karayakar/F5-TTS-Turkish/vocab.txt",
50
  json.dumps(dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)),
51
  ]
 
56
  vocoder = load_vocoder()
57
 
58
 
59
+ def load_f5tts(ckpt_path=str(cached_path("hf://Karayakar/F5-TTS-Turkish/f5_tts_turkish_800000.safetensors"))):
60
  F5TTS_model_cfg = dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)
61
  return load_model(DiT, F5TTS_model_cfg, ckpt_path)
62