Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,5 @@ def reverse_audio(audio):
|
|
5 |
sr, data = audio
|
6 |
return (sr, np.flipud(data))
|
7 |
|
8 |
-
mic = gr.
|
9 |
gr.Interface(reverse_audio, mic, "audio", css=".footer{display:none !important}").launch()
|
|
|
5 |
sr, data = audio
|
6 |
return (sr, np.flipud(data))
|
7 |
|
8 |
+
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
|
9 |
gr.Interface(reverse_audio, mic, "audio", css=".footer{display:none !important}").launch()
|