Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -6,6 +6,9 @@ WORKDIR /app
|
|
| 6 |
# Clone the FastSD CPU repository
|
| 7 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
# Upgrade pip and install dependencies
|
| 10 |
RUN pip install --upgrade pip
|
| 11 |
RUN pip install -r requirements.txt
|
|
|
|
| 6 |
# Clone the FastSD CPU repository
|
| 7 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 8 |
|
| 9 |
+
# Copy and modify requirements.txt
|
| 10 |
+
RUN sed -i 's/gradio==5.6.0/gradio==4.44.1/' requirements.txt
|
| 11 |
+
|
| 12 |
# Upgrade pip and install dependencies
|
| 13 |
RUN pip install --upgrade pip
|
| 14 |
RUN pip install -r requirements.txt
|