Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ async def detect(audio):
|
|
23 |
return title + '\nby ' + subtitle + '\nin ' + url, background_image
|
24 |
except:
|
25 |
return 'No results found.', None
|
26 |
-
|
27 |
-
|
|
|
28 |
iface.launch()
|
|
|
23 |
return title + '\nby ' + subtitle + '\nin ' + url, background_image
|
24 |
except:
|
25 |
return 'No results found.', None
|
26 |
+
title = "Music finder that uses Shazam"
|
27 |
+
description = "Find the name and other useful informations of your audio file's Music using this Space! Remember if you have a video, you need to convert it to audio file in order to upload it here."
|
28 |
+
iface = gr.Interface(fn=detect, title=title, description=description, inputs=[gr.Audio(type="filepath", label="Audio File")], outputs=[gr.Text(label="Info"), gr.Image(label="Cover")])
|
29 |
iface.launch()
|