Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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 |
|