Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -47,11 +47,13 @@ RUN git clone --recursive https://github.com/jnjaby/KEEP.git .
|
|
47 |
|
48 |
# Copy the app.py script into the container
|
49 |
COPY app.py .
|
|
|
50 |
|
51 |
# Install Python dependencies from requirements.txt
|
52 |
RUN pip install --upgrade pip
|
53 |
-
RUN pip install -r
|
54 |
RUN pip install gradio
|
|
|
55 |
|
56 |
USER root
|
57 |
# Install basicsr (assuming setup.py is in basicsr directory)
|
@@ -59,7 +61,8 @@ RUN python basicsr/setup.py develop
|
|
59 |
|
60 |
USER user
|
61 |
# Install additional Python packages
|
62 |
-
RUN pip install
|
|
|
63 |
|
64 |
# Set the environment variable to specify the GPU device
|
65 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|
|
|
47 |
|
48 |
# Copy the app.py script into the container
|
49 |
COPY app.py .
|
50 |
+
COPY requirements_HF.txt .
|
51 |
|
52 |
# Install Python dependencies from requirements.txt
|
53 |
RUN pip install --upgrade pip
|
54 |
+
RUN pip install -r requirements_HF.txt
|
55 |
RUN pip install gradio
|
56 |
+
RUN pip install cupy==10.4.0
|
57 |
|
58 |
USER root
|
59 |
# Install basicsr (assuming setup.py is in basicsr directory)
|
|
|
61 |
|
62 |
USER user
|
63 |
# Install additional Python packages
|
64 |
+
RUN pip install ffmpeg-python
|
65 |
+
RUN pip install dlib
|
66 |
|
67 |
# Set the environment variable to specify the GPU device
|
68 |
ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
|