Spaces:
Paused
Paused
Upload Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -6,6 +6,9 @@ RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /sour
|
|
| 6 |
# Patch frontend: add OpenRouter models
|
| 7 |
COPY patch_frontend.py /tmp/patch_frontend.py
|
| 8 |
RUN python3 /tmp/patch_frontend.py
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Patch frontend: multi-format file uploads (PDF/images/Excel/Word/PPT/ODF/text)
|
| 11 |
COPY patch_frontend_uploads.py /tmp/patch_frontend_uploads.py
|
|
@@ -51,7 +54,7 @@ RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /tmp/
|
|
| 51 |
|
| 52 |
RUN uv sync --no-dev --frozen
|
| 53 |
|
| 54 |
-
# Document parsing Python deps (PDF, images/OCR, Excel, Word, PPT,
|
| 55 |
RUN uv pip install --python /app/.venv/bin/python \
|
| 56 |
pypdf \
|
| 57 |
python-docx \
|
|
|
|
| 6 |
# Patch frontend: add OpenRouter models
|
| 7 |
COPY patch_frontend.py /tmp/patch_frontend.py
|
| 8 |
RUN python3 /tmp/patch_frontend.py
|
| 9 |
+
# Patch frontend: add stealth/space-bunny-alpha
|
| 10 |
+
COPY patch_space_bunny.py /tmp/patch_space_bunny.py
|
| 11 |
+
RUN python3 /tmp/patch_space_bunny.py
|
| 12 |
|
| 13 |
# Patch frontend: multi-format file uploads (PDF/images/Excel/Word/PPT/ODF/text)
|
| 14 |
COPY patch_frontend_uploads.py /tmp/patch_frontend_uploads.py
|
|
|
|
| 54 |
|
| 55 |
RUN uv sync --no-dev --frozen
|
| 56 |
|
| 57 |
+
# Document parsing Python deps (PDF, images/OCR, Excel, Word, PPT, OpenDocument (ODT/ODS/ODP, RTF)
|
| 58 |
RUN uv pip install --python /app/.venv/bin/python \
|
| 59 |
pypdf \
|
| 60 |
python-docx \
|