@@ -167,6 +168,12 @@ class ProgressResponse(BaseModel):
state:dict=Field(title="State",description="The current state snapshot")
current_image:str=Field(default=None,title="Current image",description="The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.")
classInterrogateRequest(BaseModel):
image:str=Field(default="",title="Image",description="Image to work on, must be a Base64 string containing the image's data.")
classInterrogateResponse(BaseModel):
caption:str=Field(default=None,title="Caption",description="The generated caption for the image.")