Spaces:
Runtime error
Runtime error
Simon Stolarczyk
commited on
Commit
•
dbd8bfc
1
Parent(s):
a973402
Add opt/bin to path with subprocess.
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -0
- app.py +2 -0
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -11,6 +11,8 @@ import os
|
|
11 |
|
12 |
print(os.getcwd())
|
13 |
print(os.listdir())
|
|
|
|
|
14 |
# subprocess.run(['fluidsynth'])
|
15 |
|
16 |
def process_midi(midi_file):
|
|
|
11 |
|
12 |
print(os.getcwd())
|
13 |
print(os.listdir())
|
14 |
+
subprocess.run(['PATH=$PATH:~/opt/bin'])
|
15 |
+
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
16 |
# subprocess.run(['fluidsynth'])
|
17 |
|
18 |
def process_midi(midi_file):
|
app.py
CHANGED
@@ -11,6 +11,8 @@ import os
|
|
11 |
|
12 |
print(os.getcwd())
|
13 |
print(os.listdir())
|
|
|
|
|
14 |
# subprocess.run(['fluidsynth'])
|
15 |
|
16 |
def process_midi(midi_file):
|
|
|
11 |
|
12 |
print(os.getcwd())
|
13 |
print(os.listdir())
|
14 |
+
subprocess.run(['PATH=$PATH:~/opt/bin'])
|
15 |
+
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
16 |
# subprocess.run(['fluidsynth'])
|
17 |
|
18 |
def process_midi(midi_file):
|