1 Star 0 Fork 0

suifengpiao/ComfyScript

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Solara.md 919 Bytes
一键复制 编辑 原始数据 按行查看 历史

Solara UI

These Solara widgets can be used in Jupyter Notebook and in web pages. To use them, ComfyScript must be installed with the solara feature:

  • With ComfyUI: pip install -e ".[default,solara]"
  • With ComfyUI package: pip install "comfy-script[default,solara]"

MetadataViewer

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.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/piaoddang/ComfyScript.git
git@gitee.com:piaoddang/ComfyScript.git
piaoddang
ComfyScript
ComfyScript
main

搜索帮助