mrfakename commited on
Commit
5dcf300
·
verified ·
1 Parent(s): 050ce46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=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