Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ def convert(input_file):
|
|
6 |
sound.export("output.opus", format="opus")
|
7 |
return "output.opus"
|
8 |
|
9 |
-
iface = gr.Interface(fn=convert, inputs=gr.
|
10 |
iface.launch()
|
|
|
6 |
sound.export("output.opus", format="opus")
|
7 |
return "output.opus"
|
8 |
|
9 |
+
iface = gr.Interface(fn=convert, inputs=gr.File(label="Upload MP3"), outputs=gr.File(label="Download Opus"))
|
10 |
iface.launch()
|