Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -226,7 +226,7 @@ def greet(apikey,Voicetoclone,VoiceMicrophone, audio, choice1):
|
|
226 |
print(" > Saving output to {}".format(out_path))
|
227 |
ap.save_wav(wav, out_path)
|
228 |
|
229 |
-
voicefixer.restore(input=
|
230 |
output="audio1.wav", # output wav file path
|
231 |
cuda=True, # whether to use gpu acceleration
|
232 |
mode = 0) # You can try out mode 0, 1 to find out the best result
|
|
|
226 |
print(" > Saving output to {}".format(out_path))
|
227 |
ap.save_wav(wav, out_path)
|
228 |
|
229 |
+
voicefixer.restore(input=wav, # input wav file path
|
230 |
output="audio1.wav", # output wav file path
|
231 |
cuda=True, # whether to use gpu acceleration
|
232 |
mode = 0) # You can try out mode 0, 1 to find out the best result
|