Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,6 @@ def calculate_keep_len(text, lang):
|
|
151 |
|
152 |
def run_tts(lang, tts_text, speaker_audio_file, use_deepfilter, normalize_text):
|
153 |
global filter_cache, conditioning_latents_cache, cache_queue
|
154 |
-
load_model(checkpoint_dir="capleaf/viXTTS", repo_id="/home/user/app/model", use_deepspeed=True)
|
155 |
if XTTS_MODEL is None:
|
156 |
return "You need to run the previous step to load the model !!", None, None
|
157 |
|
|
|
151 |
|
152 |
def run_tts(lang, tts_text, speaker_audio_file, use_deepfilter, normalize_text):
|
153 |
global filter_cache, conditioning_latents_cache, cache_queue
|
|
|
154 |
if XTTS_MODEL is None:
|
155 |
return "You need to run the previous step to load the model !!", None, None
|
156 |
|