Skip to content

Commit

Permalink
fix: allow floats for model requirement values
Browse files Browse the repository at this point in the history
  • Loading branch information
Unit1208 authored and tazlin committed Sep 30, 2024
1 parent e6dfd02 commit 8bd5607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class RawLegacy_StableDiffusion_ModelRecord(BaseModel):
homepage: str | None = None
nsfw: bool
download_all: bool
requirements: dict[str, int | str | list[int] | list[str] | bool] | None = None
requirements: dict[str, int | float | str | list[int] | list[str] | bool] | None = None
config: Mapping[str, list[RawLegacy_FileRecord | RawLegacy_DownloadRecord]]
available: bool | None = None
features_not_supported: list[FEATURE_SUPPORTED] | None = None
Expand Down

0 comments on commit 8bd5607

Please sign in to comment.