1 Star 0 Fork 0

Micko/sd-webui-controlnet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hints.js 535 Bytes
一键复制 编辑 原始数据 按行查看 历史
w-e-w 提交于 2年前 . use local const titles
onUiUpdate(function () {
// mouseover tooltips for various UI elements
const titles = {
'🔄': 'Refresh',
'\u2934': 'Send dimensions to stable diffusion',
'💥': 'Run preprocessor',
'📝': 'Open new canvas',
'📷': 'Enable webcam',
'': 'Mirror webcam',
};
gradioApp().querySelectorAll('.cnet-toolbutton').forEach(function (button) {
const tooltip = titles[button.textContent];
if (tooltip) {
button.title = tooltip;
}
})
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ji_tong_tong/sd-webui-controlnet.git
git@gitee.com:ji_tong_tong/sd-webui-controlnet.git
ji_tong_tong
sd-webui-controlnet
sd-webui-controlnet
main

搜索帮助