aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-23 19:03:30 +0000
committerBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-23 19:05:54 +0000
commit90f02c75220d187e075203a4e3b450bfba392c4d (patch)
tree0e7b5d01227503738abc8bdc53253c4b45dd2df2 /modules/api/models.py
parent1e625624ba6ab3dfc167f0a5226780bb9b50fb58 (diff)
downloadstable-diffusion-webui-gfx803-90f02c75220d187e075203a4e3b450bfba392c4d.tar.gz
stable-diffusion-webui-gfx803-90f02c75220d187e075203a4e3b450bfba392c4d.tar.bz2
stable-diffusion-webui-gfx803-90f02c75220d187e075203a4e3b450bfba392c4d.zip
Remove unused field and class
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 6f096807..e461d397 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -130,8 +130,7 @@ class ExtrasBaseRequest(BaseModel):
extras_upscaler_2_visibility: float = Field(default=0, title="Secondary upscaler visibility", ge=0, le=1, allow_inf_nan=False, description="Sets the visibility of secondary upscaler, values should be between 0 and 1.")
class ExtraBaseResponse(BaseModel):
- html_info_x: str
- html_info: str
+ html_info: str = Field(title="HTML info", description="A series of HTML tags containing the process info.")
class ExtrasSingleImageRequest(ExtrasBaseRequest):
image: str = Field(default="", title="Image", description="Image to work on, must be a Base64 string containing the image's data.")
@@ -139,9 +138,6 @@ class ExtrasSingleImageRequest(ExtrasBaseRequest):
class ExtrasSingleImageResponse(ExtraBaseResponse):
image: str = Field(default=None, title="Image", description="The generated image in base64 format.")
-class SerializableImage(BaseModel):
- path: str = Field(title="Path", description="The image's path ()")
-
class ImageItem(BaseModel):
data: str = Field(title="image data")
name: str = Field(title="filename")