Skip to content

Commit b710b3d

Browse files
author
thr3a
committed
add: briaai/RMBG-2.0
1 parent ccd8a0f commit b710b3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

iopaint/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
44
libsm6 libxext6 ffmpeg libfontconfig1 libxrender1 libgl1-mesa-glx \
55
&& rm -rf /var/lib/apt/lists/*
66

7-
RUN pip install iopaint rembg
7+
RUN pip install -U iopaint rembg[gpu]
88
RUN iopaint download --model=lama
99
RUN python -c "from iopaint.plugins.anime_seg import AnimeSeg; AnimeSeg()"
10-
10+
RUN python -c "from iopaint.plugins.briarmbg2 import create_briarmbg2_session;create_briarmbg2_session()"
1111
ENTRYPOINT ["iopaint"]
12-
CMD ["start", "--device=cuda", "--host=0.0.0.0", "--port=8080", "--enable-remove-bg", "--remove-bg-model", "briaai/RMBG-1.4"]
12+
CMD ["start", "--device=cuda", "--host=0.0.0.0", "--port=8080", "--enable-remove-bg", "--remove-bg-model", "briaai/RMBG-2.0"]

0 commit comments

Comments
 (0)