Skip to content

Commit

Permalink
Merge pull request #1942 from Mikubill/dev
Browse files Browse the repository at this point in the history
fix silly gradio problem in a1111 1.6.x
  • Loading branch information
lllyasviel authored Aug 22, 2023
2 parents b9db730 + 5561b6c commit 8debd2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/controlnet_ui/controlnet_ui_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ def render(self, tabname: str, elem_id_tabname: str) -> None:
visible=False, elem_classes=["cnet-generated-image-group"]
) as self.generated_image_group:
self.generated_image = gr.Image(
value=None,
label="Preprocessor Preview",
elem_id=f"{elem_id_tabname}_{tabname}_generated_image",
elem_classes=["cnet-image"],
elem_classes=["cnet-image"], interactive=False
).style(
height=242
) # Gradio's magic number. Only 242 works.
Expand Down
2 changes: 1 addition & 1 deletion scripts/controlnet_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version_flag = 'v1.1.302'
version_flag = 'v1.1.303'

from scripts.logging import logger

Expand Down

0 comments on commit 8debd2e

Please sign in to comment.