wasmdashai commited on
Commit
5554841
·
verified ·
1 Parent(s): fabec3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def modelspeech(text=TXT,name_model="wasmdashai/vits-ar-sa-huba-v2",speaking_r
151
  # with torch.no_grad():
152
  # wav = model(input_ids=inputs["input_ids"].cuda()).waveform.cpu().numpy().reshape(-1)#.detach()
153
 
154
- return (model.config.sampling_rate,wav)
155
 
156
  model_choices = gr.Dropdown(
157
  choices=[
 
151
  # with torch.no_grad():
152
  # wav = model(input_ids=inputs["input_ids"].cuda()).waveform.cpu().numpy().reshape(-1)#.detach()
153
 
154
+ return (model.config.sampling_rate,remove_noise_nr(wav))
155
 
156
  model_choices = gr.Dropdown(
157
  choices=[