Open jtydhr88 opened 1 year ago
I know webui plans to update gradio to latest(3.39) in later release v1.6.0 (see https://github.com/richrobber2/canvas-zoom/issues/88), but likely it still lost dataset map in https://github.com/gradio-app/gradio/blob/v3.39.0/client/python/gradio_client/serializing.py
there are several ways to fix the issue permanently:
Hello. Thank you, helped with the replacement serializing.py
Do you know why don't show pictures? There are no errors in the console. I think it's because of the symbolic link to the extension https://github.com/jexom/sd-webui-depth-lib/issues/29
@alexbofa i don’t see the issue that images not show up on my side, I tested the default images from this extension and 900 hands, and they work well. If you could provide more information I may help.
works for me also
gr.gallery solution looks okay and possible
@alexbofa i don’t see the issue that images not show up on my side, I tested the default images from this extension and 900 hands, and they work well. If you could provide more information I may help.
I didn't have time to fix the message, because I found a problem in the issue. It's possible, as I wrote in the updated post, that the problem is that I'm using a symbolic link for "Extensions" https://github.com/jexom/sd-webui-depth-lib/issues/29
2. by another way to show the image lib, may could b
dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area],examples_per_page=24,label="Depth Maps", elem_id="examples")
Should be replaced by what?
gonna have to do this: https://github.com/jexom/sd-webui-depth-lib/issues/36#issue-1839673234
@pipa0979 you don’t need to do that you pointed out, that’s some my personal suggestions for the extension author or someone who wants to contribute the fix. To fix it quickly you just need to do my first comment as @webcoderz showing
it works,thanks a lot
TLDR: The problem for me was miaoshouai-assistant. Removed it, deleted venv folder. Works now.
Longer version: I had tried everything I found on this page and a few others with no luck. I can't say whether or not anything on this page helped my solution mentioned here work better or if there was no effect. All I know is the fixes didn't work until I removed the miaoshouai-assistant extension. I really liked that extension and hope it's updated to working again for me.
Steps I performed to get my stable diffusion working again:
The venv folder was rebuilt and started working. The reason I take extra care to point this out is because I tried running SD with no extensions in the /extensions folder and still got the same error. I can only guess that miaoshouai-assistant puts something in the folder that causes the issue, or requires a dependency that causes the issue.
Hope this helps ♥
你不需要这样做,你指出的,这是我对扩展作者或想要贡献修复的人的一些个人建议。要快速修复它,您只需要按照所示执行我的第一条评论即可
It worked for me. Thank you
@XMUykyz Hello, download this fork: https://github.com/wywywywy/sd-webui-depth-lib
Hi there, If you are facing KeyError: 'dataset' issue, you can fix by:
webui_folder\venv\Lib\site-packages\gradio_client
and editserializing.py
file"dataset": StringSerializable,
it should look like after modifing:it should work well now, I tested 900 hands on webui latest version 1.5.1 + gradio 3.32.0 + gradio_client 0.3.0
it should fix the issues: