Spaces:
Build error
Build error
Commit
·
ad56fd1
1
Parent(s):
c5fa7a9
Remove music21 parser
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def inference(yt_audio_path):
|
|
73 |
piano_roll = create_image_from_note_sequence(est_ns)
|
74 |
|
75 |
parsed = converter.parse("./transcribed.mid")
|
76 |
-
score = parsed.write("musicxml.png")
|
77 |
return "./transcribed.mid", (SAMPLE_RATE, int16_data), piano_roll, piano_roll
|
78 |
|
79 |
title = "Transcribe music from YouTube videos using Transformers."
|
|
|
73 |
piano_roll = create_image_from_note_sequence(est_ns)
|
74 |
|
75 |
parsed = converter.parse("./transcribed.mid")
|
76 |
+
# score = parsed.write("musicxml.png")
|
77 |
return "./transcribed.mid", (SAMPLE_RATE, int16_data), piano_roll, piano_roll
|
78 |
|
79 |
title = "Transcribe music from YouTube videos using Transformers."
|