mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-03 07:42:15 -08:00
support detecting midas model
fix broken api for checkpoint list
This commit is contained in:
parent
d2ac95fa7b
commit
6f31d2210c
3 changed files with 11 additions and 8 deletions
|
|
@ -228,7 +228,7 @@ class SDModelItem(BaseModel):
|
|||
hash: Optional[str] = Field(title="Short hash")
|
||||
sha256: Optional[str] = Field(title="sha256 hash")
|
||||
filename: str = Field(title="Filename")
|
||||
config: str = Field(title="Config file")
|
||||
config: Optional[str] = Field(title="Config file")
|
||||
|
||||
class HypernetworkItem(BaseModel):
|
||||
name: str = Field(title="Name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue