aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorIvan <ivan.demian2009@gmail.com>2023-01-27 17:21:48 +0500
committerGitHub <noreply@github.com>2023-01-27 17:21:48 +0500
commit63391419c11c1749a3d83dade19235a836c509f9 (patch)
tree5781c7fe6de7a61bb5936956e68e0582f03d7f6c /modules/api/models.py
parentf5d73b6a6646b51027c8e6f6c6154f21b58d6af2 (diff)
parent9beb794e0b0dc1a0f9e89d8e38bd789a8c608397 (diff)
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 805bd8f7..cba43d3b 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -228,7 +228,7 @@ class SDModelItem(BaseModel):
hash: Optional[str] = Field(title="Short hash")
sha256: Optional[str] = Field(title="sha256 hash")
filename: str = Field(title="Filename")
- config: str = Field(title="Config file")
+ config: Optional[str] = Field(title="Config file")
class HypernetworkItem(BaseModel):
name: str = Field(title="Name")