Skip to content

Commit

Permalink
fix defaults for upscaler page
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Jun 26, 2024
1 parent e14faa1 commit d4d31e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/CompareUpscaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d4d31e5

Please sign in to comment.