Spaces:
Runtime error
Runtime error
fix sed
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -49,9 +49,11 @@ RUN git clone https://github.com/lllyasviel/Fooocus . && \
|
|
49 |
# pin to a specific commit
|
50 |
git checkout 18a8c6655208c31216b83bd93381cb12993597c2 && \
|
51 |
# remove the next line if you're running on your own GPU
|
52 |
-
sed -i "s
|
53 |
pip install --no-cache-dir -r requirements_versions.txt --extra-index-url https://download.pytorch.org/whl/cu118
|
54 |
|
|
|
|
|
55 |
ENV HOME=/home/user \
|
56 |
PATH=/home/user/.local/bin:$PATH \
|
57 |
PYTHONPATH=$HOME/app \
|
|
|
49 |
# pin to a specific commit
|
50 |
git checkout 18a8c6655208c31216b83bd93381cb12993597c2 && \
|
51 |
# remove the next line if you're running on your own GPU
|
52 |
+
sed -i "s|image_number = gr.Slider(label='Image Number', minimum=1, maximum=32|image_number = gr.Slider(label='Image Number', minimum=1, maximum=3|" webui.py && \
|
53 |
pip install --no-cache-dir -r requirements_versions.txt --extra-index-url https://download.pytorch.org/whl/cu118
|
54 |
|
55 |
+
# Checkpoints
|
56 |
+
|
57 |
ENV HOME=/home/user \
|
58 |
PATH=/home/user/.local/bin:$PATH \
|
59 |
PYTHONPATH=$HOME/app \
|