asigalov61 commited on
Commit
b7c7796
·
verified ·
1 Parent(s): 907d5bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,8 +110,8 @@ def ID_MIDI(input_midi):
110
  output_midi_src_dataset = 'unknown'
111
  output_midi_path_str = 'none'
112
 
113
- if new_midi_md5hash in monster_midi_titles:
114
- title = monster_midi_titles[new_midi_md5hash].split(' --- ')
115
 
116
  song = title[0]
117
  artist = title[1]
 
110
  output_midi_src_dataset = 'unknown'
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].split(' --- ')
115
 
116
  song = title[0]
117
  artist = title[1]