RASMUS commited on
Commit
353dae0
1 Parent(s): 50ccefb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,6 +12,7 @@ os.system('make -C ./whisper.cpp')
12
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh small')
13
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh base')
14
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh medium')
 
15
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh base.en')
16
 
17
  #os.system('./whisper.cpp/main -m whisper.cpp/models/ggml-base.en.bin -f whisper.cpp/samples/jfk.wav')
@@ -39,7 +40,7 @@ num_cores = psutil.cpu_count()
39
  os.environ["OMP_NUM_THREADS"] = f"{num_cores}"
40
  headers = {'Authorization': os.environ['DeepL_API_KEY']}
41
 
42
- whisper_models = ["base", "small", "medium", "base.en"]
43
 
44
 
45
  source_languages = {
 
12
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh small')
13
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh base')
14
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh medium')
15
+ os.system('bash ./whisper.cpp/models/download-ggml-model.sh large')
16
  os.system('bash ./whisper.cpp/models/download-ggml-model.sh base.en')
17
 
18
  #os.system('./whisper.cpp/main -m whisper.cpp/models/ggml-base.en.bin -f whisper.cpp/samples/jfk.wav')
 
40
  os.environ["OMP_NUM_THREADS"] = f"{num_cores}"
41
  headers = {'Authorization': os.environ['DeepL_API_KEY']}
42
 
43
+ whisper_models = ["base", "small", "medium", "large", "base.en"]
44
 
45
 
46
  source_languages = {