Skip to content

Commit

Permalink
✨ feat(utils): Update pyproject.toml to version 0.1.6 and handle
Browse files Browse the repository at this point in the history
generic exception in json decoding
  • Loading branch information
sudoskys committed Jan 30, 2024
1 parent e76a929 commit 4b7eb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/novelai_python/sdk/ai/generate_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Params(BaseModel):
"extra digit, fewer digits, cropped, worst quality, low quality, normal quality, "
"jpeg artifacts, signature, watermark, username, blurry"
)
noise_schedule: Optional[str, Literal['native', 'polyexponential', 'exponential']] = "native"
noise_schedule: Optional[Union[str, Literal['native', 'polyexponential', 'exponential']]] = "native"
params_version: Optional[int] = 1
qualityToggle: Optional[bool] = True
sampler: Optional[str] = "k_euler"
Expand Down

0 comments on commit 4b7eb34

Please sign in to comment.