diff options
author | Connum <connum@gmail.com> | 2022-09-20 22:28:03 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-21 06:13:13 +0000 |
commit | e9ba2d42d6c13bc3f8763c6ccd00fff2519b3152 (patch) | |
tree | b5acc16e1b9dbcaaf4f3ff6358be3a9453d3c690 /modules/ui.py | |
parent | 29d6084f47918a1ae46bea1ef9bf0cd37836e03e (diff) | |
download | stable-diffusion-webui-gfx803-e9ba2d42d6c13bc3f8763c6ccd00fff2519b3152.tar.gz stable-diffusion-webui-gfx803-e9ba2d42d6c13bc3f8763c6ccd00fff2519b3152.tar.bz2 stable-diffusion-webui-gfx803-e9ba2d42d6c13bc3f8763c6ccd00fff2519b3152.zip |
fix image replacement via clipboard paste or drag and drop on PNG Info tab
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 0d428b5b..e290b3eb 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -797,7 +797,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): pnginfo_interface = gr.Interface(
wrap_gradio_call(run_pnginfo),
inputs=[
- gr.Image(label="Source", source="upload", interactive=True, type="pil"),
+ gr.Image(elem_id="pnginfo_image", label="Source", source="upload", interactive=True, type="pil"),
],
outputs=[
gr.HTML(),
|