mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-18 19:03:24 -07:00
update pnginfo checkpoint to return dict with parsed values
This commit is contained in:
parent
bb90b0ff42
commit
72ee347eab
2 changed files with 6 additions and 7 deletions
|
|
@ -178,7 +178,8 @@ class PNGInfoRequest(BaseModel):
|
|||
|
||||
class PNGInfoResponse(BaseModel):
|
||||
info: str = Field(title="Image info", description="A string with the parameters used to generate the image")
|
||||
items: dict = Field(title="Items", description="An object containing all the info the image had")
|
||||
items: dict = Field(title="Items", description="A dictionary containing all the other fields the image had")
|
||||
parameters: dict = Field(title="Parameters", description="A dictionary with parsed generation info fields")
|
||||
|
||||
class ProgressRequest(BaseModel):
|
||||
skip_current_image: bool = Field(default=False, title="Skip current image", description="Skip current image serialization")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue