Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def ID_MIDI(input_midi):
|
|
111 |
output_midi_path_str = 'none'
|
112 |
|
113 |
if new_midi_md5hash in monster_midi_titles['md5_hashes_titles_dict']:
|
114 |
-
title = monster_midi_titles['md5_hashes_titles_dict'][new_midi_md5hash]
|
115 |
|
116 |
song = title[0]
|
117 |
artist = title[1]
|
|
|
111 |
output_midi_path_str = 'none'
|
112 |
|
113 |
if new_midi_md5hash in monster_midi_titles['md5_hashes_titles_dict']:
|
114 |
+
title = random.choice(monster_midi_titles['md5_hashes_titles_dict'][new_midi_md5hash]).split(' --- ')
|
115 |
|
116 |
song = title[0]
|
117 |
artist = title[1]
|