Spaces:
Runtime error
Runtime error
AlekseyKorshuk
commited on
Commit
•
1a340cf
1
Parent(s):
6c8f1aa
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pretty_midi
|
|
4 |
from accompaniment_generator.generator.base import Generator
|
5 |
import os
|
6 |
import uuid
|
7 |
-
os.system("apt install fluidsynth")
|
8 |
os.system("cp /usr/share/sounds/sf2/FluidR3_GM.sf2 ./font.sf2")
|
9 |
|
10 |
from midi2audio import FluidSynth
|
|
|
4 |
from accompaniment_generator.generator.base import Generator
|
5 |
import os
|
6 |
import uuid
|
7 |
+
os.system("sudo apt install fluidsynth")
|
8 |
os.system("cp /usr/share/sounds/sf2/FluidR3_GM.sf2 ./font.sf2")
|
9 |
|
10 |
from midi2audio import FluidSynth
|