Skip to content

Commit 821301d

Browse files
authored
Merge pull request #493 from classtranscribe/UpdateForWhisper
hot fix whisper build
2 parents 86b1a17 + fff23ad commit 821301d

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Build
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717

1818
- uses: actions/setup-dotnet@v1
1919
with:

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
PLATFORM: "linux/amd64"
5656

5757
steps:
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959

6060
# calculate some variables that are used later
6161
- name: version

pythonrpcserver.Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
apt-get install -y curl gcc g++ make libglib2.0-0 libsm6 libxext6 libxrender-dev ffmpeg git
77

88
WORKDIR /whisper.cpp
9-
RUN git clone https://github.com/ggerganov/whisper.cpp . && make
10-
RUN bash ./models/download-ggml-model.sh base.en
9+
# RUN git clone https://github.com/ggerganov/whisper.cpp . && make
10+
RUN git clone https://github.com/ggerganov/whisper.cpp . && \
11+
git checkout 021eef1 && \
12+
make
13+
RUN bash ./models/download-ggml-model.sh base.en
1114
RUN bash ./models/download-ggml-model.sh tiny.en
1215
RUN bash ./models/download-ggml-model.sh large-v3
1316

@@ -41,4 +44,4 @@
4144
CMD [ "nice", "-n", "18", "ionice", "-c", "2", "-n", "6", "python3", "-u", "/PythonRpcServer/server.py" ]
4245

4346

44-
47+

0 commit comments

Comments
 (0)