ramonpzg commited on
Commit
3719763
1 Parent(s): 9df9dc9

updated shape of array for uploaded song

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,7 +108,8 @@ elif options == 'Your Music':
108
  else:
109
  col4.metric(label=genre['label'], value=f"{genre['score']*100:.2f}%")
110
 
111
-
 
112
  clipwise_output, embedding = at.inference(audio)
113
 
114
 
 
108
  else:
109
  col4.metric(label=genre['label'], value=f"{genre['score']*100:.2f}%")
110
 
111
+
112
+ audio = audio[None, :]
113
  clipwise_output, embedding = at.inference(audio)
114
 
115