Spaces:
Runtime error
Runtime error
Commit
·
9b4adcf
1
Parent(s):
7998ae9
Uncommented small.en.bin model
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ def transcribe(audio):
|
|
35 |
|
36 |
|
37 |
|
38 |
-
|
39 |
-
command = rf"""wine './whisper_blas_bin_v1_3_0/main.exe' -m './whisper_blas_bin_v1_3_0/models/ggml-model-whisper-base.bin' -osrt -f '{temp_audio_path}' -nt""" # Multilingual
|
40 |
|
41 |
start_time = time.time()
|
42 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
|
35 |
|
36 |
|
37 |
|
38 |
+
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""" # English only
|
39 |
+
# command = rf"""wine './whisper_blas_bin_v1_3_0/main.exe' -m './whisper_blas_bin_v1_3_0/models/ggml-model-whisper-base.bin' -osrt -f '{temp_audio_path}' -nt""" # Multilingual
|
40 |
|
41 |
start_time = time.time()
|
42 |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|