mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
a strange bug
This commit is contained in:
@@ -55,6 +55,7 @@ mimetypes.init()
|
||||
mimetypes.add_type('application/javascript', '.js')
|
||||
txt2img_paste_fields = []
|
||||
img2img_paste_fields = []
|
||||
init_img_components = {}
|
||||
|
||||
|
||||
if not cmd_opts.share and not cmd_opts.listen:
|
||||
@@ -1174,6 +1175,9 @@ def create_ui(wrap_gradio_gpu_call):
|
||||
outputs=[init_img_with_mask],
|
||||
)
|
||||
|
||||
global init_img_components
|
||||
init_img_components = {"img2img":init_img, "inpaint":init_img_with_mask, "extras":extras_image}
|
||||
|
||||
with gr.Blocks(analytics_enabled=False) as pnginfo_interface:
|
||||
with gr.Row().style(equal_height=False):
|
||||
with gr.Column(variant='panel'):
|
||||
|
Reference in New Issue
Block a user