Spaces:
Paused
Paused
Commit
•
003fd19
1
Parent(s):
cda2a68
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -16,10 +16,10 @@ RUN pip3 install --upgrade pip
|
|
16 |
RUN pip install --pre triton
|
17 |
RUN pip install numexpr torchmetrics==0.11.4
|
18 |
|
19 |
-
|
20 |
-
RUN python launch.py --skip-torch-cuda-test
|
21 |
|
22 |
EXPOSE 7860
|
23 |
|
24 |
|
25 |
-
CMD python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file
|
|
|
16 |
RUN pip install --pre triton
|
17 |
RUN pip install numexpr torchmetrics==0.11.4
|
18 |
|
19 |
+
set COMMANDLINE_ARGS=--api
|
20 |
+
RUN python launch.py --skip-torch-cuda-test --api
|
21 |
|
22 |
EXPOSE 7860
|
23 |
|
24 |
|
25 |
+
CMD python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file
|