abidlabs HF Staff commited on
Commit
f0781d7
·
1 Parent(s): 7c9135a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,5 +6,4 @@ def reverse_audio(audio):
6
  return (sr, np.flipud(data))
7
 
8
  mic = gr.inputs.Audio(source="microphone", type="numpy", label="Speak here...")
9
- iface = gr.Interface(reverse_audio, mic, "audio", examples="audio")
10
- iface.launch()
 
6
  return (sr, np.flipud(data))
7
 
8
  mic = gr.inputs.Audio(source="microphone", type="numpy", label="Speak here...")
9
+ gr.Interface(reverse_audio, mic, "audio", examples="audio").launch()