shamik-lseg commited on
Commit
10bbaeb
ยท
1 Parent(s): 97b7f0a

Updated the app.py.

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