Wildcards

#13
by adamelliotfields - opened

Support __wildcard__ syntax. Need to curate useful wildcards. Interesting collection is the OneButtonPrompt Comfy node.

Add a new menu tab for users to view the wildcards. The Dataframe component works well:

with gr.TabItem("๐Ÿƒ Wildcards"):
    with gr.Row():
        gr.Dataframe(
            min_width=200,
            headers=["__animal__"],
            datatype=["str"],
            type="array",
            col_count=1,
            value=[["cat"], ["dog"]],
        )

The Dataframe has a transition property that looks weird with the Accordion:

.table-wrap {
  transition: none;
}

Sign up or log in to comment