Skip to content

Commit

Permalink
albumentations==1.4.3
Browse files Browse the repository at this point in the history
in albumentations==1.4.4
 - pydantic required: >=2.6.4
webui 1.9 with gradio==3.41.2 requires
 - pydantic required: >=1.7.4,<3.0.0,!=2.0.1,!=2.0.0,!=1.8.1,!=1.8
  • Loading branch information
w-e-w committed Apr 18, 2024
1 parent a6ce04d commit c454c58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,10 @@ def try_install_insight_face():
and python_version.minor == 10
):
try:
current_pydantic_version = get_installed_version('pydantic')
launch.run_pip(
f"install {wheel_url}",
"sd-webui-controlnet requirement: insightface",
)
post_install_pydantic_version = get_installed_version('pydantic')
if current_pydantic_version and post_install_pydantic_version and current_pydantic_version != post_install_pydantic_version:
launch.run_pip(
f"install -U pydantic=={current_pydantic_version}",
f"restore pydantic version to {current_pydantic_version}",
)
except Exception as e:
print(e)
print(
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ mediapipe
opencv-python>=4.8.0
svglib
addict
yapf
yapf
albumentations<=1.4.3

0 comments on commit c454c58

Please sign in to comment.