Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,26 @@
|
|
| 1 |
#================================================================
|
| 2 |
# https://huggingface.co/spaces/asigalov61/Advanced-MIDI-Renderer
|
| 3 |
#================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
import os
|
| 6 |
import hashlib
|
|
@@ -283,8 +303,8 @@ if __name__ == "__main__":
|
|
| 283 |
"Flip",
|
| 284 |
"Reverse",
|
| 285 |
"Repair",
|
| 286 |
-
"
|
| 287 |
-
"
|
| 288 |
],
|
| 289 |
label="Render type",
|
| 290 |
value="Render as-is"
|
|
|
|
| 1 |
#================================================================
|
| 2 |
# https://huggingface.co/spaces/asigalov61/Advanced-MIDI-Renderer
|
| 3 |
#================================================================
|
| 4 |
+
# Packages:
|
| 5 |
+
#
|
| 6 |
+
# apt install fluidsynth
|
| 7 |
+
#================================================================
|
| 8 |
+
# Requirements:
|
| 9 |
+
#
|
| 10 |
+
# pip install gradio
|
| 11 |
+
# pip install numpy
|
| 12 |
+
# pip install scipy
|
| 13 |
+
# pip install matplotlib
|
| 14 |
+
# pip install networkx
|
| 15 |
+
# pip install scikit-learn
|
| 16 |
+
#================================================================
|
| 17 |
+
# Core modules:
|
| 18 |
+
#
|
| 19 |
+
# git clone --depth 1 https://github.com/asigalov61/tegridy-tools
|
| 20 |
+
#
|
| 21 |
+
# import TMIDIX
|
| 22 |
+
# import TPLOTS
|
| 23 |
+
#================================================================
|
| 24 |
|
| 25 |
import os
|
| 26 |
import hashlib
|
|
|
|
| 303 |
"Flip",
|
| 304 |
"Reverse",
|
| 305 |
"Repair",
|
| 306 |
+
"Multi-Instrumental Summary",
|
| 307 |
+
"Solo Piano Summary"
|
| 308 |
],
|
| 309 |
label="Render type",
|
| 310 |
value="Render as-is"
|