attashe commited on
Commit
4d4221f
·
1 Parent(s): edf2fc9
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -49,17 +49,11 @@ tts_model_choice = DEFAULT_TTS_MODEL
49
 
50
 
51
  # load models
52
-
53
  from huggingface_hub import hf_hub_download
54
  import joblib
55
 
56
- model_file = joblib.load(
57
- hf_hub_download(repo_id="attashe/F5-TTS-Ru-finetune", filename="model_last_bigvgan.safetensors")
58
- )
59
-
60
- vocab_file = joblib.load(
61
- hf_hub_download(repo_id="attashe/F5-TTS-Ru-finetune", filename="vocab.txt")
62
- )
63
  print(f"Using model file: {model_file} and vocab: {vocab_file}")
64
 
65
  vocoder = load_vocoder(vocoder_name="bigvgan")
 
49
 
50
 
51
  # load models
 
52
  from huggingface_hub import hf_hub_download
53
  import joblib
54
 
55
+ model_file = hf_hub_download(repo_id="attashe/F5-TTS-Ru-finetune", filename="model_last_bigvgan.safetensors")
56
+ vocab_file = hf_hub_download(repo_id="attashe/F5-TTS-Ru-finetune", filename="vocab.txt")
 
 
 
 
 
57
  print(f"Using model file: {model_file} and vocab: {vocab_file}")
58
 
59
  vocoder = load_vocoder(vocoder_name="bigvgan")