add unet/dir to networks

Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-03-22 11:07:09 +01:00
parent 9a5e908ddf
commit afe3786f5f
15 changed files with 119 additions and 24 deletions
+4
View File
@@ -146,6 +146,10 @@ class ItemStyle(BaseModel):
filename: str | None = Field(title="Filename", description="Path to the styles file")
preview: str | None = Field(title="Preview", description="URL to the style preview image")
class ItemUNet(BaseModel):
name: str = Field(title="Name", description="UNet/DiT name")
filename: str | None = Field(title="Filename", description="Path to the UNet/DiT file")
class ItemExtraNetwork(BaseModel):
name: str = Field(title="Name", description="Network short name")
type: str = Field(title="Type", description="Network type (lora, checkpoint, embedding, etc.)")