Spaces:
Runtime error
Runtime error
Commit
·
b652a3a
1
Parent(s):
6109e78
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,9 @@ def dem(audio):
|
|
9 |
print(f"Speech rate:{sr} and audio : {y}")
|
10 |
command = r"""'./whisper_blas_bin_v1_3_0/main.exe' -h"""
|
11 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
12 |
-
|
|
|
|
|
13 |
|
14 |
|
15 |
demo = gr.Interface(
|
|
|
9 |
print(f"Speech rate:{sr} and audio : {y}")
|
10 |
command = r"""'./whisper_blas_bin_v1_3_0/main.exe' -h"""
|
11 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
12 |
+
print("Output: \n",result.stdout)
|
13 |
+
print("Error: \n",result.stderr)
|
14 |
+
return audio,result.stdout,result.stderr
|
15 |
|
16 |
|
17 |
demo = gr.Interface(
|