Adding Depth Anything v2 to ControlNet Integrated (#1519)

* Update install.py

adding install of depth anything v2

* Add files via upload

adding depth anything v2 preprocessor

* Update preprocessor_compiled.py

adding preprocessor

* Update preprocessor.py

adding preprocessor functions
This commit is contained in:
Lucas Freire Sangoi
2024-08-27 10:55:31 -03:00
committed by GitHub
parent 3c4eb78cd1
commit d1121baf80
4 changed files with 120 additions and 0 deletions
@@ -148,4 +148,13 @@ try_install_from_wheel(
"https://github.com/huchenlei/Depth-Anything/releases/download/v1.0.0/depth_anything-2024.1.22.0-py2.py3-none-any.whl",
),
)
try_install_from_wheel(
"depth_anything_v2",
wheel_url=os.environ.get(
"DEPTH_ANYTHING_V2_WHEEL",
"https://github.com/MackinationsAi/UDAV2-ControlNet/releases/download/v1.0.0/depth_anything_v2-2024.7.1.0-py2.py3-none-any.whl",
),
)
try_remove_legacy_submodule()