shamik-lseg commited on
Commit
309aede
·
1 Parent(s): 1ec6ea6

Updated the app.py.

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -4,13 +4,18 @@ from transformers import pipeline
4
 
5
  pipe = pipeline("audio-classification", model="Shamik/whisper-base.en-finetuned-gtzan")
6
 
7
- title = """Music Genre Classifier"""
 
 
 
8
  description = """
9
- Next time you think of how **Shazam** <img src="shazam.png" width=200px> finds the name of the song,
 
10
  well it might certainly be classifying the genre of the music too. This tool classifies music based
11
  on pre-defined genre from the [GTZAN](https://huggingface.co/datasets/marsyas/gtzan) dataset,
12
  which contains music from the following genres:
13
  `blues, classical, country, disco, hiphop, jazz, metal, pop, reggae, and rock`.
 
14
  """
15
 
16
  def classify_audio(filepath):
 
4
 
5
  pipe = pipeline("audio-classification", model="Shamik/whisper-base.en-finetuned-gtzan")
6
 
7
+ title = """
8
+ # Music Genre Classifier
9
+ """
10
+
11
  description = """
12
+ <p style='font-size:30px;'>
13
+ Next time you think of how **Shazam** <img src="./shazam.png" width=200px> finds the name of the song,
14
  well it might certainly be classifying the genre of the music too. This tool classifies music based
15
  on pre-defined genre from the [GTZAN](https://huggingface.co/datasets/marsyas/gtzan) dataset,
16
  which contains music from the following genres:
17
  `blues, classical, country, disco, hiphop, jazz, metal, pop, reggae, and rock`.
18
+ </p>
19
  """
20
 
21
  def classify_audio(filepath):