Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
dikarel committed Mar 4, 2024
1 parent 12f157f commit 374de0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ def main():
img_input = gr.Image(label="Image of yourself")
drp_outfit = gr.Dropdown(
label="Select a new outfit",
choices=OUTFIT_SELECTION.sort(),
choices=sorted(OUTFIT_SELECTION),
value=choice(OUTFIT_SELECTION),
)

with gr.Column():
btn_change = gr.Button(value="Change outfit", variant="primary")
img_output = gr.Image(label="Image of you wearing a dress")
img_output = gr.Image(label="Image of you wearing the outfit")

btn_change.click(
generate_output, inputs=[img_input, drp_outfit], outputs=[img_output]
Expand Down

0 comments on commit 374de0c

Please sign in to comment.