Spaces:
Runtime error
Runtime error
fix bug
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ with open(CONFIG) as f:
|
|
| 37 |
global trainset_config
|
| 38 |
trainset_config = config["trainset_config"] # to read trainset configurations
|
| 39 |
|
| 40 |
-
def denoise(files, ckpt_path):
|
| 41 |
"""
|
| 42 |
Denoise audio
|
| 43 |
Parameters:
|
|
@@ -89,7 +89,7 @@ def denoise(files, ckpt_path):
|
|
| 89 |
|
| 90 |
|
| 91 |
audio = gr.inputs.Audio(label = "Audio to denoise", type = 'filepath')
|
| 92 |
-
inputs = [audio
|
| 93 |
outputs = gr.outputs.Audio(label = "Denoised audio", type = 'filepath')
|
| 94 |
|
| 95 |
title = "Speech Denoising in the Waveform Domain with Self-Attention from Nvidia"
|
|
|
|
| 37 |
global trainset_config
|
| 38 |
trainset_config = config["trainset_config"] # to read trainset configurations
|
| 39 |
|
| 40 |
+
def denoise(files, ckpt_path = CHECKPOINT):
|
| 41 |
"""
|
| 42 |
Denoise audio
|
| 43 |
Parameters:
|
|
|
|
| 89 |
|
| 90 |
|
| 91 |
audio = gr.inputs.Audio(label = "Audio to denoise", type = 'filepath')
|
| 92 |
+
inputs = [audio]
|
| 93 |
outputs = gr.outputs.Audio(label = "Denoised audio", type = 'filepath')
|
| 94 |
|
| 95 |
title = "Speech Denoising in the Waveform Domain with Self-Attention from Nvidia"
|