Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -12,9 +12,8 @@ RUN pip install --no-cache-dir fastapi uvicorn transformers pillow pydantic requ
|
|
| 12 |
|
| 13 |
# 5. THE CHEAT CODE: Pre-download the Deepfake weights
|
| 14 |
# Change this line in your Dockerfile
|
|
|
|
| 15 |
RUN python -c "from transformers import pipeline; pipeline('image-classification', model='prithivMLmods/deepfake-detector-model-v1')"
|
| 16 |
-
|
| 17 |
-
|
| 18 |
# 7. Expose port
|
| 19 |
EXPOSE 7860
|
| 20 |
|
|
|
|
| 12 |
|
| 13 |
# 5. THE CHEAT CODE: Pre-download the Deepfake weights
|
| 14 |
# Change this line in your Dockerfile
|
| 15 |
+
# Change this line in your Dockerfile
|
| 16 |
RUN python -c "from transformers import pipeline; pipeline('image-classification', model='prithivMLmods/deepfake-detector-model-v1')"
|
|
|
|
|
|
|
| 17 |
# 7. Expose port
|
| 18 |
EXPOSE 7860
|
| 19 |
|