nakas commited on
Commit
a7871b6
1 Parent(s): 63ea367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def greet(name):
15
  # Write the audio back as a wav file:
16
  with AudioFile('output.wav', 'w', samplerate, effected.shape[0]) as f:
17
  f.write(effected)
18
- return name
19
 
20
  demo = gr.Interface(fn=greet, inputs=gr.Audio(type="filepath"), outputs=gr.Audio(type="filepath"))
21
 
 
15
  # Write the audio back as a wav file:
16
  with AudioFile('output.wav', 'w', samplerate, effected.shape[0]) as f:
17
  f.write(effected)
18
+ return output
19
 
20
  demo = gr.Interface(fn=greet, inputs=gr.Audio(type="filepath"), outputs=gr.Audio(type="filepath"))
21