azamat commited on
Commit
28d63d4
1 Parent(s): 05b81bd
Files changed (1) hide show
  1. app.py +2 -2
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, CHECKPOINT]
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"