zixaphir / Stable-Diffusion-Webui-Civitai-Helper

Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.
175 stars 24 forks source link

[Bug]额外网络模型卡片上的按钮错误 #23

Open aylz10 opened 8 months ago

aylz10 commented 8 months ago

webui版本1.6.0 civitai help版本 0f56bea 1.当在设置里勾选隐藏replace preview按钮时,所有的按钮均不可见,当不勾选隐藏replace preview按钮时,其他按钮隐藏功能正常 2.鼠标移动到Rename model按钮时,描述为Remove this model 3.鼠标移动到replace preview按钮时无描述 4.当使用lobe theme界面美化插件时,超过4个的按钮不显示 5.当使用lobe theme界面美化插件时,如果设置显示的按钮大于4个时,切换到lora选项卡,会出现2个replace preview按钮,点击使用附加网络刷新按钮时,按钮恢复正常。如果设置显示的按钮小于4个时此问题依旧且使用刷新按钮无法恢复正常

zixaphir commented 8 months ago

I added some things to try to address these. Let me know if anything is still busted. 我添加了一些东西来尝试解决这些问题。如果还有什么地方出了问题,请告诉我。

aylz10 commented 8 months ago

当使用lobe theme界面美化插件时,切换到lora选项卡,依旧会出现多余的按钮,点击使用附加网络刷新按钮时,按钮恢复正常。 还有另外2个小问题,也一并在这个issue里提交吧 1.当使用代理功能时,webui启动会报错,猜测应该是python3不再支持

        util.PROXIES.http = proxy
        util.PROXIES.https = proxy

这样的写法,改成

        util.PROXIES = {
        "http": proxy,
        "https": proxy,
        }

后正常。 2.新功能 def get_remote_image_info(img_src): 函数里的

    if not response.ok:
        util.printD(f"Get error code: {response.status_code}")
        util.printD(response.text)
        return response.status_code

如果图片无法打开,返回代码404的话,会直接把404写入到meta里,在civitai.info里显示 "meta": 404 会造成sd-model-preview-xd插件读取元数据报错

zixaphir commented 8 months ago

1.当使用代理功能时,webui启动会报错,猜测应该是python3不再支持

如果图片无法打开,返回代码404的话,会直接把404写入到meta里,在civitai.info里显示 "meta": 404

Thank you for reporting these issues. I have updated with fixes that should address them. 感谢您报告这些问题。我已更新修复,应该可以解决它们。

当使用lobe theme界面美化插件时,切换到lora选项卡,依旧会出现多余的按钮,点击使用附加网络刷新按钮时,按钮恢复正常。

I'm trying to duplicate this issue on my side but I'm not running into it. Can you share an image of the issue? 我正在尝试在我的一侧复制这个问题,但我没有遇到它。您能分享一下这个问题的图片吗?

aylz10 commented 8 months ago

使用Edge浏览器,我将所有插件禁用,只启用lobe和civitai helper插件,civitai helper插件的设置如图 0 在初始附加网络界面如图正常显示设置的按钮 1 当切换到lora选项时,按钮出现异常 2