Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
fix: image and negative prompt should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
1hachem committed Mar 22, 2024
1 parent 60105f5 commit 3407ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyko_toolkit/models/multimodal/text_to_image/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class StartupParams(CoreModel):
@func.set_input
class Inputs(CoreModel):
prompt: str = Field(..., description="Input text")
image: Image = Field(..., description="Input Image")
negative_prompt: str = Field(..., description="Input text")
image: Image = Field(default=None, description="Input Image")
negative_prompt: str = Field(default=None, description="Input text")


@func.set_param
Expand Down

0 comments on commit 3407ace

Please sign in to comment.