Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def modelspeech(text,name_model):
|
|
133 |
# with torch.no_grad():
|
134 |
# wav = model(input_ids=inputs["input_ids"].cuda()).waveform.cpu().numpy().reshape(-1)#.detach()
|
135 |
|
136 |
-
return model.config.sampling_rate,wav,remove_noise_nr(wav)
|
137 |
|
138 |
model_choices = gr.Dropdown(
|
139 |
choices=[
|
|
|
133 |
# with torch.no_grad():
|
134 |
# wav = model(input_ids=inputs["input_ids"].cuda()).waveform.cpu().numpy().reshape(-1)#.detach()
|
135 |
|
136 |
+
return (model.config.sampling_rate,wav),(model.config.sampling_rate,remove_noise_nr(wav))
|
137 |
|
138 |
model_choices = gr.Dropdown(
|
139 |
choices=[
|