Update app.py
Browse files
app.py
CHANGED
@@ -3,13 +3,8 @@ import requests
|
|
3 |
import json
|
4 |
import base64
|
5 |
|
6 |
-
print(os.getcwd())
|
7 |
os.system('git clone --depth=1 https://github.com/ggerganov/whisper.cpp.git')
|
8 |
-
os.system('
|
9 |
-
print(os.getcwd())
|
10 |
-
os.system('git reset --hard c10db6ea2883a4f77440fa8caeb296a0e351a58c')
|
11 |
-
os.system('cd ..')
|
12 |
-
print(os.getcwd())
|
13 |
os.system('make -C ./whisper.cpp')
|
14 |
os.system('bash ./whisper.cpp/models/download-ggml-model.sh small')
|
15 |
os.system('bash ./whisper.cpp/models/download-ggml-model.sh base')
|
|
|
3 |
import json
|
4 |
import base64
|
5 |
|
|
|
6 |
os.system('git clone --depth=1 https://github.com/ggerganov/whisper.cpp.git')
|
7 |
+
os.system('git -C ./whisper.cpp reset --hard c10db6ea2883a4f77440fa8caeb296a0e351a58c')
|
|
|
|
|
|
|
|
|
8 |
os.system('make -C ./whisper.cpp')
|
9 |
os.system('bash ./whisper.cpp/models/download-ggml-model.sh small')
|
10 |
os.system('bash ./whisper.cpp/models/download-ggml-model.sh base')
|