Spaces:
Runtime error
Runtime error
Commit
·
1983345
1
Parent(s):
bf80eba
Added print for wine command
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def transcribe(audio):
|
|
32 |
perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
33 |
# result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
34 |
command = rf"""wine './whisper_blas_bin_v1_3_0/main.exe' -m './whisper_blas_bin_v1_3_0/models/ggml-model-whisper-small.en.bin' -osrt -f '{temp_audio_path}' -nt"""
|
35 |
-
|
36 |
start_time = time.time()
|
37 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
38 |
end_time = time.time()
|
|
|
32 |
perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
33 |
# result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
34 |
command = rf"""wine './whisper_blas_bin_v1_3_0/main.exe' -m './whisper_blas_bin_v1_3_0/models/ggml-model-whisper-small.en.bin' -osrt -f '{temp_audio_path}' -nt"""
|
35 |
+
print("Wine Installation: ",wine_c)
|
36 |
start_time = time.time()
|
37 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
38 |
end_time = time.time()
|