Spaces:
Runtime error
Runtime error
Simon Stolarczyk
commited on
Commit
•
50efdde
1
Parent(s):
73e5963
Readd all packages and try to find fluidsynth.
Browse files- .ipynb_checkpoints/app-checkpoint.py +8 -6
- .ipynb_checkpoints/package-checkpoint.txt +3 -1
- app.py +8 -6
- package-Copy1.txt +0 -3
- package.txt +3 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -10,12 +10,14 @@ import subprocess
|
|
10 |
import os
|
11 |
|
12 |
print(os.getcwd())
|
13 |
-
print(os.listdir())
|
14 |
-
print(os.listdir('..')) # ['.bash_logout', '.bashrc', '.profile', 'app', '.cache', '.local']
|
15 |
-
print(os.listdir('../.local')) # ['bin', 'lib', 'etc', 'share']
|
16 |
-
print(os.listdir('../..')) # ['user']
|
17 |
-
print(os.listdir('../../..'))
|
18 |
-
|
|
|
|
|
19 |
# subprocess.run(['PATH=$PATH:~/opt/bin'])
|
20 |
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
21 |
# subprocess.run(['fluidsynth'])
|
|
|
10 |
import os
|
11 |
|
12 |
print(os.getcwd())
|
13 |
+
# print(os.listdir())
|
14 |
+
# print(os.listdir('..')) # ['.bash_logout', '.bashrc', '.profile', 'app', '.cache', '.local']
|
15 |
+
# print(os.listdir('../.local')) # ['bin', 'lib', 'etc', 'share']
|
16 |
+
# print(os.listdir('../..')) # ['user']
|
17 |
+
# print(os.listdir('../../..')) # ['bin', 'boot', 'dev', 'etc', 'home', 'lib', 'lib64', 'media', 'mnt', 'opt', 'proc', 'root', 'run', 'sbin', 'srv', 'sys', 'tmp', 'usr', 'var', '.dockerenv']
|
18 |
+
print(os.listdir('../../../bin'))
|
19 |
+
subprocess.run(['echo $PATH'], capture_output=True)
|
20 |
+
|
21 |
# subprocess.run(['PATH=$PATH:~/opt/bin'])
|
22 |
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
23 |
# subprocess.run(['fluidsynth'])
|
.ipynb_checkpoints/package-checkpoint.txt
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
fluidsynth
|
|
|
|
|
|
1 |
+
fluidsynth
|
2 |
+
fluid-soundfont-gm
|
3 |
+
fluid-soundfont-gs
|
app.py
CHANGED
@@ -10,12 +10,14 @@ import subprocess
|
|
10 |
import os
|
11 |
|
12 |
print(os.getcwd())
|
13 |
-
print(os.listdir())
|
14 |
-
print(os.listdir('..')) # ['.bash_logout', '.bashrc', '.profile', 'app', '.cache', '.local']
|
15 |
-
print(os.listdir('../.local')) # ['bin', 'lib', 'etc', 'share']
|
16 |
-
print(os.listdir('../..')) # ['user']
|
17 |
-
print(os.listdir('../../..'))
|
18 |
-
|
|
|
|
|
19 |
# subprocess.run(['PATH=$PATH:~/opt/bin'])
|
20 |
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
21 |
# subprocess.run(['fluidsynth'])
|
|
|
10 |
import os
|
11 |
|
12 |
print(os.getcwd())
|
13 |
+
# print(os.listdir())
|
14 |
+
# print(os.listdir('..')) # ['.bash_logout', '.bashrc', '.profile', 'app', '.cache', '.local']
|
15 |
+
# print(os.listdir('../.local')) # ['bin', 'lib', 'etc', 'share']
|
16 |
+
# print(os.listdir('../..')) # ['user']
|
17 |
+
# print(os.listdir('../../..')) # ['bin', 'boot', 'dev', 'etc', 'home', 'lib', 'lib64', 'media', 'mnt', 'opt', 'proc', 'root', 'run', 'sbin', 'srv', 'sys', 'tmp', 'usr', 'var', '.dockerenv']
|
18 |
+
print(os.listdir('../../../bin'))
|
19 |
+
subprocess.run(['echo $PATH'], capture_output=True)
|
20 |
+
|
21 |
# subprocess.run(['PATH=$PATH:~/opt/bin'])
|
22 |
# subprocess.run(['PATH=$PATH:~/opt/bin/fluidsynth'])
|
23 |
# subprocess.run(['fluidsynth'])
|
package-Copy1.txt
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
fluidsynth
|
2 |
-
fluid-soundfont-gm
|
3 |
-
fluid-soundfont-gs
|
|
|
|
|
|
|
|
package.txt
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
fluidsynth
|
|
|
|
|
|
1 |
+
fluidsynth
|
2 |
+
fluid-soundfont-gm
|
3 |
+
fluid-soundfont-gs
|