Spaces:
Sleeping
Sleeping
Commit ·
b2f2eab
1
Parent(s): 95fbfc5
Fixing models for PyABSA
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
|
@@ -17,9 +17,6 @@ COPY . .
|
|
| 17 |
# Install Python dependencies
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
-
# Pre-download PyABSA checkpoint during build (using correct v2.4.2 API)
|
| 21 |
-
RUN python -c "from pyabsa import available_checkpoints; print('Available checkpoints:', available_checkpoints()); from pyabsa import checkpoint_utils; checkpoint_utils.download_all_available_checkpoints()" || echo "PyABSA checkpoint download skipped, will download at runtime"
|
| 22 |
-
|
| 23 |
# Expose port
|
| 24 |
EXPOSE 7860
|
| 25 |
|
|
|
|
| 17 |
# Install Python dependencies
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
# Expose port
|
| 21 |
EXPOSE 7860
|
| 22 |
|