ASG Models commited on
Commit
1ce0f2e
·
verified ·
1 Parent(s): a359a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def modelspeech(text):
93
 
94
  wav = model_vits(input_ids=inputs["input_ids"]).waveform.cpu().numpy().reshape(-1)
95
  # display(Audio(wav, rate=model.config.sampling_rate))
96
- return model.config.sampling_rate,wav#remove_noise_nr(wav)
97
 
98
  import re
99
  def clean_text(text):
 
93
 
94
  wav = model_vits(input_ids=inputs["input_ids"]).waveform.cpu().numpy().reshape(-1)
95
  # display(Audio(wav, rate=model.config.sampling_rate))
96
+ return model_vits.config.sampling_rate,wav#remove_noise_nr(wav)
97
 
98
  import re
99
  def clean_text(text):