Spaces:
Build error
Build error
juancopi81
commited on
Commit
·
b732dcb
1
Parent(s):
720aadc
change to use musescore
Browse files- app.py +1 -1
- packages.txt +0 -1
app.py
CHANGED
@@ -74,7 +74,7 @@ def inference(yt_audio_path):
|
|
74 |
piano_roll = create_image_from_note_sequence(est_ns)
|
75 |
|
76 |
parsed = converter.parse("./transcribed.mid")
|
77 |
-
score = parsed.write("
|
78 |
return "./transcribed.mid", (SAMPLE_RATE, int16_data), piano_roll, score
|
79 |
|
80 |
title = "Transcribe music from YouTube videos using Transformers."
|
|
|
74 |
piano_roll = create_image_from_note_sequence(est_ns)
|
75 |
|
76 |
parsed = converter.parse("./transcribed.mid")
|
77 |
+
score = parsed.write("musicxml.png")
|
78 |
return "./transcribed.mid", (SAMPLE_RATE, int16_data), piano_roll, score
|
79 |
|
80 |
title = "Transcribe music from YouTube videos using Transformers."
|
packages.txt
CHANGED
@@ -2,5 +2,4 @@ libfluidsynth2
|
|
2 |
build-essential
|
3 |
libasound2-dev
|
4 |
libjack-dev
|
5 |
-
lilypond
|
6 |
musescore3
|
|
|
2 |
build-essential
|
3 |
libasound2-dev
|
4 |
libjack-dev
|
|
|
5 |
musescore3
|