diff options
author | Vladimir Mandic <mandic00@live.com> | 2023-01-10 02:23:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 02:23:58 +0000 |
commit | 2275f130bfe437c3245a66559f92af94d0e4d8ff (patch) | |
tree | 76996e5fa4e0fa75dd64261bb7dcc69abb3fac8c | |
parent | 3fe9e9e54dcfc41d7c5ee6976f83b0de29fd3dda (diff) | |
download | stable-diffusion-webui-gfx803-2275f130bfe437c3245a66559f92af94d0e4d8ff.tar.gz stable-diffusion-webui-gfx803-2275f130bfe437c3245a66559f92af94d0e4d8ff.tar.bz2 stable-diffusion-webui-gfx803-2275f130bfe437c3245a66559f92af94d0e4d8ff.zip |
relax reponse type check enforcement
-rw-r--r-- | modules/api/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index 880edde6..034b4aa0 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -262,5 +262,5 @@ class EmbeddingsResponse(BaseModel): skipped: Dict[str, EmbeddingItem] = Field(title="Skipped", description="Embeddings skipped for the current model (likely due to architecture incompatibility)") class MemoryResponse(BaseModel): - ram: dict[str, str] | dict[str, float] = Field(title="RAM", description="System memory stats") - cuda: dict[str, str] | dict[str, dict] = Field(title="CUDA", description="nVidia CUDA memory stats") + ram: dict = Field(title="RAM", description="System memory stats") + cuda: dict = Field(title="CUDA", description="nVidia CUDA memory stats") |