Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ async def detect(audio):
|
|
23 |
return title + '\nby ' + subtitle + '\nin ' + url, background_image
|
24 |
except:
|
25 |
return 'No results found.', None
|
26 |
-
title = "Music finder
|
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()
|
|
|
23 |
return title + '\nby ' + subtitle + '\nin ' + url, background_image
|
24 |
except:
|
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.Media(type=["audio", "video"]], outputs=[gr.Text(label="Info"), gr.Image(label="Cover")])
|
29 |
iface.launch()
|