Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,10 +17,10 @@ RUN pip install --no-cache-dir -U huggingface_hub
|
|
| 17 |
# モデルとmmprojをダウンロード
|
| 18 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 19 |
repo="openbmb/MiniCPM5-1B-GGUF"; \
|
| 20 |
-
hf_hub_download(repo_id=repo, filename="MiniCPM5-1B-
|
| 21 |
|
| 22 |
CMD ["--server", \
|
| 23 |
-
"-m", "/app/MiniCPM5-1B-
|
| 24 |
"--host", "0.0.0.0", \
|
| 25 |
"--port", "7860", \
|
| 26 |
"-t", "3", \
|
|
|
|
| 17 |
# モデルとmmprojをダウンロード
|
| 18 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 19 |
repo="openbmb/MiniCPM5-1B-GGUF"; \
|
| 20 |
+
hf_hub_download(repo_id=repo, filename="MiniCPM5-1B-Q4_K_M.gguf", local_dir="/app")'
|
| 21 |
|
| 22 |
CMD ["--server", \
|
| 23 |
+
"-m", "/app/MiniCPM5-1B-Q4_K_M.gguf", \
|
| 24 |
"--host", "0.0.0.0", \
|
| 25 |
"--port", "7860", \
|
| 26 |
"-t", "3", \
|