diff --git a/recipes/CompareUpscaler.py b/recipes/CompareUpscaler.py index 6e9b17a91..42588fe72 100644 --- a/recipes/CompareUpscaler.py +++ b/recipes/CompareUpscaler.py @@ -40,10 +40,10 @@ class RequestModel(BaseModel): class ResponseModel(BaseModel): output_images: dict[ typing.Literal[tuple(e.name for e in UpscalerModels)], FieldHttpUrl - ] = Field(description="Output Images") + ] = Field({}, description="Output Images") output_videos: dict[ typing.Literal[tuple(e.name for e in UpscalerModels)], FieldHttpUrl - ] = Field(description="Output Videos") + ] = Field({}, description="Output Videos") def validate_form_v2(self): assert st.session_state.get(