mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-04-30 19:21:23 +00:00
first!
This commit is contained in:
8
install.py
Normal file
8
install.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import launch
|
||||
|
||||
if not launch.is_installed("rembg"):
|
||||
launch.run_pip("install rembg==2.0.30 --no-deps", "rembg")
|
||||
|
||||
for dep in ['onnxruntime', 'pymatting', 'pooch']:
|
||||
if not launch.is_installed(dep):
|
||||
launch.run_pip(f"install {dep}", f"{dep} for REMBG extension")
|
||||
Reference in New Issue
Block a user