kevinwang676 commited on
Commit
1f8e9cf
1 Parent(s): 6c6b8ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def extend(audio):
115
  # denoise
116
 
117
  def inference_denoise(audio):
118
- voicefixer.restore(input=audio.name, # input wav file path
119
  output="output.wav", # output wav file path
120
  cuda=False, # whether to use gpu acceleration
121
  mode = int(0)) # You can try out mode 0, 1 to find out the best result
 
115
  # denoise
116
 
117
  def inference_denoise(audio):
118
+ voicefixer.restore(input=audio, # input wav file path
119
  output="output.wav", # output wav file path
120
  cuda=False, # whether to use gpu acceleration
121
  mode = int(0)) # You can try out mode 0, 1 to find out the best result