Spaces:
Runtime error
Runtime error
Commit
·
0b32ed5
1
Parent(s):
6ba2265
Added os.system command to install wine32
Browse files
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):
|