These Solara widgets can be used in Jupyter Notebook and in web pages. To use them, ComfyScript must be installed with the solara
feature:
pip install -e ".[default,solara]"
pip install "comfy-script[default,solara]"
A widget for viewing the metadata of an image generated by ComfyScript / ComfyUI / Stable Diffusion web UI. Workflow JSON files are supported too, including both the web UI format and the API format.
Usage:
import comfy_script.ui as ui
ui.solara.MetadataViewer()
For images, only PNG format is supported at the moment.
Syntax highlighting does not work in Jupyter Notebook and VS Code, but only in JupyterLab and web pages.
If you are using VS Code and cannot drag and drop files into it, make sure the version of your Jupyter extension is at least v2024.1.100.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。