mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-05-01 03:31:35 +00:00
Merge pull request #21 from catboxanon/update
Bump rembg to 2.0.38, support DIS models
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import launch
|
import launch
|
||||||
|
|
||||||
if not launch.is_installed("rembg"):
|
if not launch.is_installed("rembg"):
|
||||||
launch.run_pip("install rembg==2.0.30 --no-deps", "rembg")
|
launch.run_pip("install rembg==2.0.38 --no-deps", "rembg")
|
||||||
|
|
||||||
for dep in ['onnxruntime', 'pymatting', 'pooch']:
|
for dep in ['onnxruntime', 'pymatting', 'pooch']:
|
||||||
if not launch.is_installed(dep):
|
if not launch.is_installed(dep):
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ models = [
|
|||||||
"u2net_human_seg",
|
"u2net_human_seg",
|
||||||
"u2net_cloth_seg",
|
"u2net_cloth_seg",
|
||||||
"silueta",
|
"silueta",
|
||||||
|
"isnet-general-use",
|
||||||
|
"isnet-anime",
|
||||||
]
|
]
|
||||||
|
|
||||||
class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
|
class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
|
||||||
|
|||||||
Reference in New Issue
Block a user