T1ckbase commited on
Commit
a53a767
·
1 Parent(s): a6547c3
Files changed (4) hide show
  1. .gitignore +4 -1
  2. Dockerfile +5 -0
  3. kokoro-v1.0.onnx +0 -3
  4. voices-v1.0.bin +0 -3
.gitignore CHANGED
@@ -171,4 +171,7 @@ cython_debug/
171
  .ruff_cache/
172
 
173
  # PyPI configuration file
174
- .pypirc
 
 
 
 
171
  .ruff_cache/
172
 
173
  # PyPI configuration file
174
+ .pypirc
175
+
176
+ *.onnx
177
+ *.bin
Dockerfile CHANGED
@@ -2,6 +2,11 @@ FROM python:3.12-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
5
  COPY . /app
6
 
7
  RUN pip install --no-cache-dir -r requirements.txt
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update && apt-get install -y wget && apt-get clean
6
+
7
+ RUN wget -O kokoro-v1.0.onnx https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/kokoro-v1.0.onnx
8
+ RUN wget -O voices-v1.0.bin https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/voices-v1.0.bin
9
+
10
  COPY . /app
11
 
12
  RUN pip install --no-cache-dir -r requirements.txt
kokoro-v1.0.onnx DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d5df8ecf7d4b1878015a32686053fd0eebe2bc377234608764cc0ef3636a6c5
3
- size 325532387
 
 
 
 
voices-v1.0.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bca610b8308e8d99f32e6fe4197e7ec01679264efed0cac9140fe9c29f1fbf7d
3
- size 28214398