Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,6 @@ import os
|
|
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 |
-
#os.system('conda install -c conda-forge libvorbis')
|
11 |
-
|
12 |
-
|
13 |
-
"""install libsndfile on the linux machine"""
|
14 |
-
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")
|
15 |
-
proc.wait()
|
16 |
|
17 |
|
18 |
from huggingsound import SpeechRecognitionModel
|
|
|
5 |
import subprocess # process in the os
|
6 |
from subprocess import STDOUT, check_call #os process manipulation
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
from huggingsound import SpeechRecognitionModel
|