upgrade rembg to be able to use isnet-general-use

This commit is contained in:
Henri Huotari
2023-05-15 11:05:30 +03:00
committed by GitHub
parent 64821f0476
commit c87f5a2c46
2 changed files with 2 additions and 1 deletions

View File

@@ -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.36 --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):

View File

@@ -6,6 +6,7 @@ import rembg
models = [ models = [
"None", "None",
"isnet-general-use",
"u2net", "u2net",
"u2netp", "u2netp",
"u2net_human_seg", "u2net_human_seg",