added canvas tool
Browse files- S2FApp/Dockerfile +1 -1
- S2FApp/requirements.txt +1 -0
S2FApp/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 streamlit matplotlib Pillow plotly huggingface_hub
|
| 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 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 ./
|
S2FApp/requirements.txt
CHANGED
|
@@ -9,3 +9,4 @@ matplotlib>=3.5.0
|
|
| 9 |
Pillow>=9.0.0
|
| 10 |
plotly>=5.14.0
|
| 11 |
huggingface_hub>=0.20.0
|
|
|
|
|
|
| 9 |
Pillow>=9.0.0
|
| 10 |
plotly>=5.14.0
|
| 11 |
huggingface_hub>=0.20.0
|
| 12 |
+
reportlab>=4.0.0
|