amirgame197 commited on
Commit
3395103
·
verified ·
1 Parent(s): 61c44a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- iface = gr.Interface(fn=detect, inputs=[gr.Audio(type="filepath", label="Audio File")], outputs=[gr.Text(label="Info"), gr.Image(label="Cover")])
 
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()