Skip to content

Commit

Permalink
Downgrade Gradio to 4.38.1
Browse files Browse the repository at this point in the history
ImageEditor color switching is broken on newer versions.
  • Loading branch information
missionfloyd committed Sep 9, 2024
1 parent 3e94d22 commit 623ce9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def check_versions():

expected_torch_version = "2.1.2"
expected_xformers_version = "0.0.23.post1"
expected_gradio_version = "4.42.0"
expected_gradio_version = "4.38.1"

if version.parse(torch.__version__) < version.parse(expected_torch_version):
print_error_explanation(f"""
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ diskcache
einops
facexlib
fastapi>=0.90.1
gradio==4.42.0
gradio==4.38.1
inflection
jsonmerge
kornia
Expand Down
2 changes: 1 addition & 1 deletion requirements_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ diskcache==5.6.3
einops==0.4.1
facexlib==0.3.0
fastapi==0.104.1
gradio==4.42.0
gradio==4.38.1
httpcore==0.15
inflection==0.5.1
jsonmerge==1.8.0
Expand Down

0 comments on commit 623ce9e

Please sign in to comment.