Amrrs commited on
Commit
30d5110
1 Parent(s): 951159d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #os.system('pip uninstall -y soundfile')
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")