Download microsoftexcel-controlnet/javascript/hints.js from toto10/extensions: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F4/microsoftexcel-controlnet/javascript/hints.js
- Command line
-
hf download hf://toto10/extensions@refs/pr/4/microsoftexcel-controlnet/javascript/hints.js
-
curl -L -o hints.js https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F4/microsoftexcel-controlnet/javascript/hints.js
535 Bytes
| 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; | |
| } | |
| }) | |
| }); |