asigalov61
commited on
Commit
•
51083cc
1
Parent(s):
1f738c2
Update app.py
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def ClassifyMIDI(input_midi, input_sampling_resolution):
|
|
264 |
gidx = genre_labels_fnames.index(song_artist)
|
265 |
genre = genre_labels[gidx][1]
|
266 |
|
267 |
-
print('Notes', i*samples_overlap, '-', (i*samples_overlap)+340, '===', genre, '---', song_artist)
|
268 |
classification_summary_string += 'Notes ' + str(i*samples_overlap) + ' - ' + str((i*samples_overlap)+340) + ' === ' + str(genre) + ' --- ' + str(song_artist) + '\n'
|
269 |
|
270 |
artist_label = str_strip_artist(song_artist.split(' --- ')[1])
|
|
|
264 |
gidx = genre_labels_fnames.index(song_artist)
|
265 |
genre = genre_labels[gidx][1]
|
266 |
|
267 |
+
print('Notes', i*(340-samples_overlap), '-', (i*(340-samples_overlap))+340, '===', genre, '---', song_artist)
|
268 |
classification_summary_string += 'Notes ' + str(i*samples_overlap) + ' - ' + str((i*samples_overlap)+340) + ' === ' + str(genre) + ' --- ' + str(song_artist) + '\n'
|
269 |
|
270 |
artist_label = str_strip_artist(song_artist.split(' --- ')[1])
|