Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,11 +12,8 @@ def reverse_audio(audio):
|
|
| 12 |
|
| 13 |
demo = gr.Interface(fn=reverse_audio,
|
| 14 |
inputs="microphone",
|
| 15 |
-
outputs="audio"
|
| 16 |
-
|
| 17 |
-
"https://samplelib.com/lib/preview/mp3/sample-3s.mp3",
|
| 18 |
-
os.path.join(os.path.dirname(__file__), "audio/recording1.wav")
|
| 19 |
-
], cache_examples=True)
|
| 20 |
|
| 21 |
if __name__ == "__main__":
|
| 22 |
demo.launch()
|
|
|
|
| 12 |
|
| 13 |
demo = gr.Interface(fn=reverse_audio,
|
| 14 |
inputs="microphone",
|
| 15 |
+
outputs="audio"
|
| 16 |
+
)
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
if __name__ == "__main__":
|
| 19 |
demo.launch()
|