asigalov61 commited on
Commit
0b59869
·
verified ·
1 Parent(s): 1ab5f2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -43,8 +43,11 @@ def classify_lyrics(lyric):
43
  return sorted_texts_match_ratios[0], result[0], result[1]
44
 
45
  demo = gr.Interface(
 
 
 
46
  fn=classify_lyrics,
47
- inputs=[gr.Textbox(label="Enter any lyrics here", value="Nothing Else Matters")],
48
  outputs=[gr.Label(label="Match score"),
49
  gr.Textbox(label="Title/Artist"),
50
  gr.Textbox(label="Genre (if identified)")],
 
43
  return sorted_texts_match_ratios[0], result[0], result[1]
44
 
45
  demo = gr.Interface(
46
+ gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Karaoke MIDI Search</h1>"),
47
+ gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Search and explore 5865 select Karaoke MIDI titles</h1>"),
48
+ gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.Karaoke-MIDI-Search&style=flat)\n\n"),
49
  fn=classify_lyrics,
50
+ inputs=[gr.Textbox(label="Enter any lyrics here", value="So close, no matter how far\nCouldn't be much more from the heart\nForever trusting who we are\nAnd nothing else matters")],
51
  outputs=[gr.Label(label="Match score"),
52
  gr.Textbox(label="Title/Artist"),
53
  gr.Textbox(label="Genre (if identified)")],