aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorLeon Feng <523684+leon0707@users.noreply.github.com>2023-07-18 08:24:14 +0000
committerGitHub <noreply@github.com>2023-07-18 08:24:14 +0000
commita3730bd9becd2f1f5d209885b694b0dec178d110 (patch)
tree8ac9948d89606f7519df786f07f6ddb93c3d2720 /modules/api/models.py
parentd6668347c8b85b11b696ac56777cc396e34ee1f9 (diff)
parent871b8687a82bb2ca907d8a49c87aed7635b8fc33 (diff)
downloadstable-diffusion-webui-gfx803-a3730bd9becd2f1f5d209885b694b0dec178d110.tar.gz
stable-diffusion-webui-gfx803-a3730bd9becd2f1f5d209885b694b0dec178d110.tar.bz2
stable-diffusion-webui-gfx803-a3730bd9becd2f1f5d209885b694b0dec178d110.zip
Merge branch 'dev' into fix-11805
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index b3a745f0..b5683071 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -274,10 +274,6 @@ class PromptStyleItem(BaseModel):
prompt: Optional[str] = Field(title="Prompt")
negative_prompt: Optional[str] = Field(title="Negative Prompt")
-class ArtistItem(BaseModel):
- name: str = Field(title="Name")
- score: float = Field(title="Score")
- category: str = Field(title="Category")
class EmbeddingItem(BaseModel):
step: Optional[int] = Field(title="Step", description="The number of steps that were used to train this embedding, if available")