Add-Vishnu commited on
Commit
0b32ed5
·
1 Parent(s): 6ba2265

Added os.system command to install wine32

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -16,6 +16,9 @@ perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subproc
16
  # result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
17
  # print("Wine Installation: ",wine_c)
18
  print("Access Installation: ",perm)
 
 
 
19
 
20
 
21
  def resample_to_16k(audio, orig_sr):
 
16
  # result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
17
  # print("Wine Installation: ",wine_c)
18
  print("Access Installation: ",perm)
19
+ os.system("sudo dpkg --add-architecture i386")
20
+ os.system("sudo apt-get update")
21
+ os.system("sudo apt-get install wine32:i386")
22
 
23
 
24
  def resample_to_16k(audio, orig_sr):