Karayakar commited on
Commit
0ec59e1
·
verified ·
1 Parent(s): d6747f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,8 +45,8 @@ DEFAULT_TTS_MODEL = "F5-TTS"
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
  ]
52
 
@@ -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/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
 
 
45
  tts_model_choice = DEFAULT_TTS_MODEL
46
 
47
  DEFAULT_TTS_MODEL_CFG = [
48
+ "hf://Karayakar/F5-TTS-Turkish/model_298200.safetensors",
49
+ "hf://Karayakar/F5-TTS-Turkish/vocab298200.txt",
50
  json.dumps(dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4)),
51
  ]
52
 
 
56
  vocoder = load_vocoder()
57
 
58
 
59
+ def load_f5tts(ckpt_path=str(cached_path("hf://Karayakar/F5-TTS-Turkish/model_298200.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