aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-12-17 07:22:03 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-12-30 07:42:42 +0000
commitbb07cb6a0df60a96827125ffc09ea182a1ed272c (patch)
treee84c1769371fbfa797a13d29ab49a7089f8c78b7 /modules/api/models.py
parentde03882d6ca56bc81058f5120f028678a6a54aaa (diff)
downloadstable-diffusion-webui-gfx803-bb07cb6a0df60a96827125ffc09ea182a1ed272c.tar.gz
stable-diffusion-webui-gfx803-bb07cb6a0df60a96827125ffc09ea182a1ed272c.tar.bz2
stable-diffusion-webui-gfx803-bb07cb6a0df60a96827125ffc09ea182a1ed272c.zip
a
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 58083a34..16edf11c 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -108,6 +108,7 @@ StableDiffusionTxt2ImgProcessingAPI = PydanticModelGenerator(
{"key": "save_images", "type": bool, "default": False},
{"key": "alwayson_scripts", "type": dict, "default": {}},
{"key": "force_task_id", "type": str, "default": None},
+ {"key": "infotext", "type": str, "default": None},
]
).generate_model()
@@ -126,6 +127,7 @@ StableDiffusionImg2ImgProcessingAPI = PydanticModelGenerator(
{"key": "save_images", "type": bool, "default": False},
{"key": "alwayson_scripts", "type": dict, "default": {}},
{"key": "force_task_id", "type": str, "default": None},
+ {"key": "infotext", "type": str, "default": None},
]
).generate_model()