Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
import os
|
| 3 |
os.system('git clone https://github.com/ggerganov/whisper.cpp.git')
|
| 4 |
os.system('make -C ./whisper.cpp')
|
| 5 |
-
MODELS_TO_DOWNLOAD = ['
|
| 6 |
|
| 7 |
for model_name in MODELS_TO_DOWNLOAD:
|
| 8 |
os.system(f'bash ./whisper.cpp/models/download-ggml-model.sh {model_name}')
|
|
|
|
| 2 |
import os
|
| 3 |
os.system('git clone https://github.com/ggerganov/whisper.cpp.git')
|
| 4 |
os.system('make -C ./whisper.cpp')
|
| 5 |
+
MODELS_TO_DOWNLOAD = ['base', 'small', 'tiny', 'medium'] # ['tiny', 'small', 'base', 'medium', 'large']
|
| 6 |
|
| 7 |
for model_name in MODELS_TO_DOWNLOAD:
|
| 8 |
os.system(f'bash ./whisper.cpp/models/download-ggml-model.sh {model_name}')
|