bvallegc commited on
Commit
1eada99
·
1 Parent(s): 3ae298e

Upload 5 files

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -21,6 +21,13 @@ def classify_audio(filepath):
21
  number = classification[0]["score"]
22
  return label, number
23
 
 
 
 
 
 
 
 
24
 
25
  interface_options = {
26
  "title": "Music Genre Classification",
 
21
  number = classification[0]["score"]
22
  return label, number
23
 
24
+ example_audio_files = [
25
+ "Freedom.mp3",
26
+ "In The Forest.mp3",
27
+ "Summer Mood.mp3",
28
+ ]
29
+
30
+ examples = [{"filepath": path} for path in example_audio_files]
31
 
32
  interface_options = {
33
  "title": "Music Genre Classification",