Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=[
|