Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import os
|
|
5 |
import subprocess # process in the os
|
6 |
from subprocess import STDOUT, check_call #os process manipulation
|
7 |
|
8 |
-
|
9 |
-
|
10 |
|
11 |
"""install libsndfile on the linux machine"""
|
12 |
proc = subprocess.Popen('apt-get update -y && apt-get install -y --no-install-recommends build-essential gcc libsndfile1', shell=True, stdin=None, stdout=open(os.devnull,"wb"), stderr=STDOUT, executable="/bin/bash")
|
|
|
5 |
import subprocess # process in the os
|
6 |
from subprocess import STDOUT, check_call #os process manipulation
|
7 |
|
8 |
+
os.system('pip uninstall -y soundfile')
|
9 |
+
os.system('pip install --upgrade --force-reinstall SoundFile')
|
10 |
|
11 |
"""install libsndfile on the linux machine"""
|
12 |
proc = subprocess.Popen('apt-get update -y && apt-get install -y --no-install-recommends build-essential gcc libsndfile1', shell=True, stdin=None, stdout=open(os.devnull,"wb"), stderr=STDOUT, executable="/bin/bash")
|