asigalov61 commited on
Commit
7e98789
·
verified ·
1 Parent(s): 572479d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,14 +47,14 @@ def classify_lyrics(lyric):
47
  return sorted_texts_match_ratios[0], result[0], result[1]
48
 
49
  demo = gr.Interface(
50
- gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.Algorithmic-Lyrics-Classifier&style=flat)\n\n"),
51
  fn=classify_lyrics,
52
  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")],
53
  outputs=[gr.Label(label="Match score"),
54
  gr.Textbox(label="Title/Artist"),
55
  gr.Textbox(label="Genre (if identified)")],
56
  title="Algorithmic Lyrics Classifier",
57
- description="Algorithmic match lyrics classification by artist and genre"
 
58
  )
59
 
60
  if __name__ == "__main__":
 
47
  return sorted_texts_match_ratios[0], result[0], result[1]
48
 
49
  demo = gr.Interface(
 
50
  fn=classify_lyrics,
51
  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")],
52
  outputs=[gr.Label(label="Match score"),
53
  gr.Textbox(label="Title/Artist"),
54
  gr.Textbox(label="Genre (if identified)")],
55
  title="Algorithmic Lyrics Classifier",
56
+ description="Algorithmic match lyrics classification by artist and genre",
57
+ gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.Algorithmic-Lyrics-Classifier&style=flat)\n\n")
58
  )
59
 
60
  if __name__ == "__main__":