diff --git a/stabilityai/__init__.py b/stabilityai/__init__.py index 7863915..976498a 100644 --- a/stabilityai/__init__.py +++ b/stabilityai/__init__.py @@ -1 +1 @@ -__version__ = "1.0.2" +__version__ = "1.0.3" diff --git a/stabilityai/models.py b/stabilityai/models.py index 13fa308..a3c9ab4 100644 --- a/stabilityai/models.py +++ b/stabilityai/models.py @@ -187,8 +187,8 @@ class TextToImageRequestBody(GenerationRequestOptionalParams): class ImageToImageUpscaleRequestBody(BaseModel): image: InitImage - width: Optional[UpscaleImageWidth] - height: Optional[UpscaleImageHeight] + width: Optional[UpscaleImageWidth] = None + height: Optional[UpscaleImageHeight] = None @validator("width", always=True) def mutually_exclusive(cls, v, values):