aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-27 08:25:55 +0000
committerGitHub <noreply@github.com>2023-06-27 08:25:55 +0000
commit1bf01b73f478fd98d670fc3e44ffd7c71e531b0a (patch)
tree548b90c6a385897407209bd0b0bf0d4c7d54303d /modules/api/models.py
parentd06af4e517865277d0521642c2c5513af9afd76f (diff)
parentba70a220e3176153ba2a559acb9e5aa692dce7ca (diff)
downloadstable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.gz
stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.bz2
stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.zip
Merge pull request #11046 from akx/ded-code
Remove a bunch of unused/vestigial code
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")