diff options
author | JJ <jjisnow@gmail.com> | 2022-09-16 20:48:22 +0000 |
---|---|---|
committer | JJ <jjisnow@gmail.com> | 2022-09-16 20:58:35 +0000 |
commit | de5bfdf9177d7035c76a890c241f8a5a32455cad (patch) | |
tree | db4bd69a3f75e2dd114f954e224d93c0c784460f /modules/ui.py | |
parent | e49b1c5d73ede818adb624590934f051b94493ac (diff) | |
download | stable-diffusion-webui-gfx803-de5bfdf9177d7035c76a890c241f8a5a32455cad.tar.gz stable-diffusion-webui-gfx803-de5bfdf9177d7035c76a890c241f8a5a32455cad.tar.bz2 stable-diffusion-webui-gfx803-de5bfdf9177d7035c76a890c241f8a5a32455cad.zip |
image info tab
* handles exceptions if jpeg jfif data not present
* removes further non-comment related exif data.
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py index 738ac945..0899490f 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -295,7 +295,7 @@ def create_toprow(is_img2img): return prompt, roll, prompt_style, negative_prompt, prompt_style2, submit, interrogate, prompt_style_apply, save_style, check_progress
-def create_ui(txt2img, img2img, run_extras, run_pnginfo):
+def create_ui(txt2img, img2img, run_extras, run_image_info):
with gr.Blocks(analytics_enabled=False) as txt2img_interface:
txt2img_prompt, roll, txt2img_prompt_style, txt2img_negative_prompt, txt2img_prompt_style2, submit, _, txt2img_prompt_style_apply, txt2img_save_style, check_progress = create_toprow(is_img2img=False)
@@ -697,7 +697,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): submit.click(**extras_args)
pnginfo_interface = gr.Interface(
- wrap_gradio_call(run_pnginfo),
+ wrap_gradio_call(run_image_info),
inputs=[
gr.Image(label="Source", source="upload", interactive=True, type="pil"),
],
|