Spaces:
Running
Running
added psutil for live monitoring resources
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ COPY requirements.txt .
|
|
| 17 |
|
| 18 |
# Install Python dependencies - CPU-only PyTorch to fit Space memory limits (avoids OOM)
|
| 19 |
RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu && \
|
| 20 |
-
pip install --no-cache-dir numpy opencv-python scipy scikit-image streamlit matplotlib Pillow plotly huggingface_hub reportlab streamlit-drawable-canvas-fix
|
| 21 |
|
| 22 |
# Copy app code (chown for HF Spaces permissions)
|
| 23 |
COPY --chown=user:user app.py predictor.py download_ckp.py ./
|
|
|
|
| 17 |
|
| 18 |
# Install Python dependencies - CPU-only PyTorch to fit Space memory limits (avoids OOM)
|
| 19 |
RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu && \
|
| 20 |
+
pip install --no-cache-dir numpy opencv-python scipy scikit-image streamlit matplotlib Pillow plotly huggingface_hub reportlab streamlit-drawable-canvas-fix psutil
|
| 21 |
|
| 22 |
# Copy app code (chown for HF Spaces permissions)
|
| 23 |
COPY --chown=user:user app.py predictor.py download_ckp.py ./
|