Spaces:
Runtime error
Runtime error
Delete ReverseAudio_app.py
Browse files- ReverseAudio_app.py +0 -19
ReverseAudio_app.py
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
|
3 |
-
import numpy as np
|
4 |
-
|
5 |
-
import gradio as gr
|
6 |
-
|
7 |
-
|
8 |
-
def reverse_audio(audio):
|
9 |
-
sr, data = audio
|
10 |
-
return (sr, np.flipud(data))
|
11 |
-
|
12 |
-
|
13 |
-
demo = gr.Interface(fn=reverse_audio,
|
14 |
-
inputs="microphone",
|
15 |
-
outputs="audio"
|
16 |
-
)
|
17 |
-
|
18 |
-
if __name__ == "__main__":
|
19 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|