Update app.py
Browse files
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="
|
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("\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)")],
|