Replies: 3 comments 1 reply
-
Did you sync the Python GUI? |
Beta Was this translation helpful? Give feedback.
-
I got this same error, but not for the same module as this (probably the issue is fixed with the SD repo. If you have the same error as the OP, update to the latest code using My error was caused by the dreambooth plugin -- to start my UI, I did the following:
I saw this post on Redit and the person says they were able to reinstall a new(?) dreambooth plugin to get it working... nevertheless the dreambooth |
Beta Was this translation helpful? Give feedback.
-
我在Google上查到这个如何修复 Python 中的 AttributeError并用该办法解决了不能运行的问题,但是WEB的UI发生了一些变化(不影响使用)
然后会输出20几个 No such attribute... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered this problem after updating the project today.
The startup fails.
so I changed the content of scripts.py line529.
if hasattr(comp, "elem_classes"):
# 修改
comp.elem_classes = ["gradio-" + comp.get_block_name(), *(comp.elem_classes or [])]
And the boot was successful? But the UI looks weird.
New problems arise at the same time.
Error executing callback ui_tabs_callback for E:\PartWorkSpace\stable-diffusion-webui_23-01-20\extensions\openpose-editor\scripts\main.py
Traceback (most recent call last):
File "E:\PartWorkSpace\stable-diffusion-webui\modules\script_callbacks.py", line 125, in ui_tabs_callback
res += c.callback() or []
File "E:\PartWorkSpace\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 74, in on_ui_tabs
json_input = gr.UploadButton(label="Load from JSON", file_types=[".json"], elem_id="openpose_json_button")
AttributeError: module 'gradio' has no attribute 'UploadButton'
Running on local URL: http://127.0.0.1:27000
To create a public link, set
share=True
inlaunch()
.[openOutpaint] Could not force allowed files. Skipping...
Startup time: 274.9s (import torch: 37.0s, import gradio: 7.3s, import ldm: 1.5s, other imports: 10.0s, setup codeformer: 0.5s, load scripts: 6.5s, load SD checkpoint: 203.7s, create ui: 6.7s, gradio launch: 1.2s, scripts app_started_callback: 0.1s).
API error: POST: http://127.0.0.1:27000/sdapi/v1/extra-single-image {'error': 'HTTPException', 'detail': 'Invalid encoded image', 'body': '', 'errors': ''}
Folder "" does not exist. After you create an image, the folder will be created.
Beta Was this translation helpful? Give feedback.
All reactions