Spaces:
Sleeping
Sleeping
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def generate_response(messages, model, tokenizer):
|
|
82 |
def infer(
|
83 |
ref_audio_orig, ref_text, gen_text, model, remove_silence, cross_fade_duration=0.15, speed=1
|
84 |
):
|
85 |
-
ref_audio, ref_text = preprocess_ref_audio_text(ref_audio_orig, ref_text, show_info=
|
86 |
|
87 |
if model == "F5-TTS":
|
88 |
ema_model = F5TTS_ema_model
|
|
|
82 |
def infer(
|
83 |
ref_audio_orig, ref_text, gen_text, model, remove_silence, cross_fade_duration=0.15, speed=1
|
84 |
):
|
85 |
+
ref_audio, ref_text = preprocess_ref_audio_text(ref_audio_orig, ref_text, show_info=gr.Info)
|
86 |
|
87 |
if model == "F5-TTS":
|
88 |
ema_model = F5TTS_ema_model
|