Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,7 @@ def Classify_MIDI_Genre(input_midi,
|
|
284 |
|
285 |
print('Loadin and prepping source MIDI...')
|
286 |
|
287 |
-
src_score = load_midi(input_midi)
|
288 |
|
289 |
inp = torch.LongTensor([src_score]).to(device_type)
|
290 |
|
|
|
284 |
|
285 |
print('Loadin and prepping source MIDI...')
|
286 |
|
287 |
+
src_score = load_midi(input_midi.name)
|
288 |
|
289 |
inp = torch.LongTensor([src_score]).to(device_type)
|
290 |
|