TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.54k stars 1.31k forks source link

'Namespace' object has no attribute 'gradio_inpaint_tool' #841

Closed abvgdeabvgde2 closed 1 year ago

abvgdeabvgde2 commented 1 year ago
Applying xformers cross attention optimization.
Model loaded.
Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 191, in <module>
    webui()
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 137, in webui
    shared.demo = modules.ui.create_ui();shared.demo.queue(concurrency_count=111500)
  File "/content/gdrive/.shortcut-targets-by-id/***/sd/stable-diffusion-webui/modules/ui.py", line 796, in create_ui
    init_img_with_mask = gr.Image(label="Image for inpainting with mask", show_label=False, elem_id="img2maskimg", source="upload", interactive=True, type="pil", tool=cmd_opts.gradio_inpaint_tool, image_mode="RGBA").style(height=480)
AttributeError: 'Namespace' object has no attribute 'gradio_inpaint_tool'
abvgdeabvgde2 commented 1 year ago

A clean run solves the issue.