Spaces:
Runtime error
Runtime error
Commit
·
1ecfea6
1
Parent(s):
3b98f2f
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def dem(audio):
|
|
7 |
print(audio)
|
8 |
sr,y = audio
|
9 |
print(f"Speech rate:{sr} and audio : {y}")
|
10 |
-
command = r"""wine'./whisper_blas_bin_v1_3_0/main.exe' -h"""
|
11 |
command2 = """chmod +777 ./whisper_blas_bin_v1_3_0/main.exe"""
|
12 |
perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
13 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
|
7 |
print(audio)
|
8 |
sr,y = audio
|
9 |
print(f"Speech rate:{sr} and audio : {y}")
|
10 |
+
command = r"""wine './whisper_blas_bin_v1_3_0/main.exe' -h"""
|
11 |
command2 = """chmod +777 ./whisper_blas_bin_v1_3_0/main.exe"""
|
12 |
perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
13 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|