Uh oh!
There was an error while loading. Please reload this page.
[modular]Update model card to include workflow - #13195
Conversation
yiyixuxu
commented
Feb 27, 2026
cc @sayakpaul |
HuggingFaceDocBuilderDev
commented
Feb 27, 2026
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
sayakpaul
left a comment
There was a problem hiding this comment.
Thank you! Just one comment, let me know what you think.
| parts.append(f"<details>\n<summary><strong>{wf_name}</strong></summary>\n") | ||
| parts.append(f"> **Trigger inputs**: {', '.join(f'`{t}`' for t in trigger_input_names)}\n") | ||
| parts.append("*Could not resolve workflow blocks.*\n") | ||
| parts.append("</details>\n") |
There was a problem hiding this comment.
Do we need both?
Here, we already have:
text2image: requires prompt
Then having a collapsible block (essentially with the same info)

seems to be redundant to me.
There was a problem hiding this comment.
updated, they look like this now https://huggingface.co/YiYiXu/modular-loader-t2i-20260227
| try: | ||
| # Check if the model card is present on the remote repo | ||
| model_card = ModelCard.load(repo_id_or_path, token=token) | ||
| # For modular pipelines, regenerate card content when requested (preserve existing metadata) |
Uh oh!
There was an error while loading. Please reload this page.
* up * up * update * remove test --------- Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-161-123.ec2.internal> Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal>
before https://huggingface.co/YiYiXu/modular-loader-t2i-0704
after https://huggingface.co/YiYiXu/modular-loader-t2i-20260227
the input/output isn't too meaningful for conditional/auto pipeline so it is better we show them for each workflow
here is an example with pipeline that does not have workflow
https://huggingface.co/diffusers/Qwen-Image-Layered-modular