Update app.py
Browse files
app.py
CHANGED
@@ -25,5 +25,5 @@ async def detect(audio):
|
|
25 |
return 'No results found.', None
|
26 |
title = "Music finder using Shazam"
|
27 |
description = "Find the name and other useful informations of your audio file's Music using this Space!"
|
28 |
-
iface = gr.Interface(fn=detect, title=title, description=description, inputs=[gr.
|
29 |
iface.launch()
|
|
|
25 |
return 'No results found.', None
|
26 |
title = "Music finder using Shazam"
|
27 |
description = "Find the name and other useful informations of your audio file's Music using this Space!"
|
28 |
+
iface = gr.Interface(fn=detect, title=title, description=description, inputs=[gr.File(label="Upload Audio or Video")], outputs=[gr.Text(label="Info"), gr.Image(label="Cover")])
|
29 |
iface.launch()
|