Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -7
Dockerfile
CHANGED
|
@@ -19,20 +19,21 @@ RUN pip install --no-cache-dir \
|
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
# --- NEURAL CORE DOWNLOADS ---
|
| 22 |
-
#
|
| 23 |
-
|
|
|
|
| 24 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='CyberCoder225/maira-model', filename='SmolLM2-360M-Instruct.Q4_K_M.gguf', local_dir='.')"
|
| 25 |
|
| 26 |
-
# 2. Maira Prime
|
| 27 |
-
RUN python3 -c "from huggingface_hub import hf_hub_download(repo_id='bartowski/Llama-3.2-1B-Instruct-GGUF', filename='Llama-3.2-1B-Instruct-Q4_K_M.gguf', local_dir='.')"
|
| 28 |
|
| 29 |
-
# 3. Maira Logic
|
| 30 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='Qwen/Qwen2.5-1.5B-Instruct-GGUF', filename='qwen2.5-1.5b-instruct-q4_k_m.gguf', local_dir='.')"
|
| 31 |
|
| 32 |
-
# 4. Maira Chat (
|
| 33 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='h2oai/h2o-danube3-500m-chat-GGUF', filename='h2o-danube3-500m-chat-Q4_K_M.gguf', local_dir='.')"
|
| 34 |
|
| 35 |
-
# 5. Maira Art
|
| 36 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='stabilityai/stablelm-2-zephyr-1_6b-gguf', filename='stablelm-2-zephyr-1_6b-Q4_K_M.gguf', local_dir='.')"
|
| 37 |
|
| 38 |
# Copy your app.py and brain.py files
|
|
|
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
# --- NEURAL CORE DOWNLOADS ---
|
| 22 |
+
# Corrected Python syntax: import; hf_hub_download(...)
|
| 23 |
+
|
| 24 |
+
# 1. Maira Lite
|
| 25 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='CyberCoder225/maira-model', filename='SmolLM2-360M-Instruct.Q4_K_M.gguf', local_dir='.')"
|
| 26 |
|
| 27 |
+
# 2. Maira Prime
|
| 28 |
+
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='bartowski/Llama-3.2-1B-Instruct-GGUF', filename='Llama-3.2-1B-Instruct-Q4_K_M.gguf', local_dir='.')"
|
| 29 |
|
| 30 |
+
# 3. Maira Logic
|
| 31 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='Qwen/Qwen2.5-1.5B-Instruct-GGUF', filename='qwen2.5-1.5b-instruct-q4_k_m.gguf', local_dir='.')"
|
| 32 |
|
| 33 |
+
# 4. Maira Chat (Danube) - Corrected filename case
|
| 34 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='h2oai/h2o-danube3-500m-chat-GGUF', filename='h2o-danube3-500m-chat-Q4_K_M.gguf', local_dir='.')"
|
| 35 |
|
| 36 |
+
# 5. Maira Art
|
| 37 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='stabilityai/stablelm-2-zephyr-1_6b-gguf', filename='stablelm-2-zephyr-1_6b-Q4_K_M.gguf', local_dir='.')"
|
| 38 |
|
| 39 |
# Copy your app.py and brain.py files
|