Spaces:
Running
Running
Upload Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -19,8 +19,9 @@ RUN pip install --no-cache-dir torch torchvision --index-url https://download.py
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
-
# Copy our API entrypoint
|
| 23 |
COPY app.py .
|
|
|
|
| 24 |
|
| 25 |
# Hugging Face Spaces use port 7860
|
| 26 |
EXPOSE 7860
|
|
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
+
# Copy our API entrypoint and the uploaded checkpoint file
|
| 23 |
COPY app.py .
|
| 24 |
+
COPY model_imdb_cross_person_4.24_99.46.pth.tar .
|
| 25 |
|
| 26 |
# Hugging Face Spaces use port 7860
|
| 27 |
EXPOSE 7860
|