mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-01-26 11:19:56 +00:00
upgrade rembg to be able to use isnet-general-use
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import launch
|
||||
|
||||
if not launch.is_installed("rembg"):
|
||||
launch.run_pip("install rembg==2.0.30 --no-deps", "rembg")
|
||||
launch.run_pip("install rembg==2.0.36 --no-deps", "rembg")
|
||||
|
||||
for dep in ['onnxruntime', 'pymatting', 'pooch']:
|
||||
if not launch.is_installed(dep):
|
||||
|
||||
@@ -6,6 +6,7 @@ import rembg
|
||||
|
||||
models = [
|
||||
"None",
|
||||
"isnet-general-use",
|
||||
"u2net",
|
||||
"u2netp",
|
||||
"u2net_human_seg",
|
||||
|
||||
Reference in New Issue
Block a user