Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -15,9 +15,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
15 |
|
16 |
# GGUF model (gemma3 architecture, compatible)
|
17 |
RUN mkdir models && \
|
18 |
-
curl -L -o models/
|
19 |
-
https://huggingface.co/TheBloke/Mistral-7B-v0.1-GGUF/
|
20 |
-
test $(stat -c%s models/
|
21 |
|
22 |
COPY agent.py .
|
23 |
|
|
|
15 |
|
16 |
# GGUF model (gemma3 architecture, compatible)
|
17 |
RUN mkdir models && \
|
18 |
+
curl -L -o models/mistral-7b-v0.1.Q4_K_S.gguf \
|
19 |
+
https://huggingface.co/TheBloke/Mistral-7B-v0.1-GGUF/resolve/main/mistral-7b-v0.1.Q4_K_S.gguf && \
|
20 |
+
test $(stat -c%s models/mistral-7b-v0.1.Q4_K_S.gguf) -gt 300000000 || (echo "Model download failed or incomplete" && exit 1)
|
21 |
|
22 |
COPY agent.py .
|
23 |
|