Spaces:
Runtime error
Runtime error
Merge branch 'main' of hf.co:spaces/yuntian-deng/computer into main
Browse files- Dockerfile +6 -0
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
# Use the official Python 3.9 image
|
| 2 |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
@@ -8,6 +11,9 @@ WORKDIR /code
|
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
| 10 |
# Install requirements.txt
|
|
|
|
|
|
|
|
|
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 12 |
|
| 13 |
#RUN git clone https://github.com/da03/latent-diffusion.git
|
|
|
|
| 1 |
# Use the official Python 3.9 image
|
| 2 |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
|
| 3 |
|
| 4 |
+
|
| 5 |
+
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 6 |
+
|
| 7 |
# Set the working directory to /code
|
| 8 |
WORKDIR /code
|
| 9 |
|
|
|
|
| 11 |
COPY ./requirements.txt /code/requirements.txt
|
| 12 |
|
| 13 |
# Install requirements.txt
|
| 14 |
+
|
| 15 |
+
RUN pip install pip==24.0
|
| 16 |
+
|
| 17 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 18 |
|
| 19 |
#RUN git clone https://github.com/da03/latent-diffusion.git
|
requirements.txt
CHANGED
|
@@ -16,6 +16,7 @@ albumentations
|
|
| 16 |
opencv-python
|
| 17 |
pudb
|
| 18 |
imageio
|
|
|
|
| 19 |
imageio-ffmpeg
|
| 20 |
torch-fidelity==0.3.0
|
| 21 |
kornia
|
|
|
|
| 16 |
opencv-python
|
| 17 |
pudb
|
| 18 |
imageio
|
| 19 |
+
protobuf==3.20.3
|
| 20 |
imageio-ffmpeg
|
| 21 |
torch-fidelity==0.3.0
|
| 22 |
kornia
|