Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
voicechat2
Commits
8939e76b
"tools/vscode:/vscode.git/clone" did not exist on "bb5daabe7dbe7c9ed5a1ae03d78aead9002cab57"
Commit
8939e76b
authored
Aug 09, 2024
by
chenpangpang
Browse files
feat: 增加模型
parent
fa8ce810
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
hf_down.py
hf_down.py
+1
-1
No files found.
Dockerfile
View file @
8939e76b
...
@@ -9,4 +9,4 @@ RUN pip install -r requirements.txt
...
@@ -9,4 +9,4 @@ RUN pip install -r requirements.txt
RUN
cd
llama.cpp
&&
make
GGML_CUDA
=
1
-j
RUN
cd
llama.cpp
&&
make
GGML_CUDA
=
1
-j
COPY
chenyh/$IMAGE/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf /root/$IMAGE/$IMAGE_UPPER/llama.cpp/
COPY
chenyh/$IMAGE/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf /root/$IMAGE/$IMAGE_UPPER/llama.cpp/
COPY
chenyh/$IMAGE/tts_models--en--vctk--vits /root/.local/share/tts/
COPY
chenyh/$IMAGE/tts_models--en--vctk--vits /root/.local/share/tts/
COPY
chenyh/$IMAGE/distil-whisper/
distil-
large-v2 /root/$IMAGE/$IMAGE_UPPER/
#
COPY chenyh/$IMAGE/distil-whisper/large-v2 /root/$IMAGE/$IMAGE_UPPER/
hf_down.py
View file @
8939e76b
...
@@ -3,7 +3,7 @@ import os
...
@@ -3,7 +3,7 @@ import os
os
.
environ
[
'HF_ENDPOINT'
]
=
'https://hf-mirror.com'
os
.
environ
[
'HF_ENDPOINT'
]
=
'https://hf-mirror.com'
model_list
=
[
model_list
=
[
"distil-whisper/
distil-
large-v2"
"distil-whisper/large-v2"
]
]
for
model_path
in
model_list
:
for
model_path
in
model_list
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment