mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-07 01:32:49 -08:00
fix image replacement via clipboard paste or drag and drop on PNG Info tab
This commit is contained in:
parent
29d6084f47
commit
e9ba2d42d6
2 changed files with 24 additions and 3 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue