Warlord-K commited on
Commit
461e61e
β€’
1 Parent(s): 1a18643

Restructured UI

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +7 -6
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: TryOn
3
  emoji: πŸ‘•
4
  colorFrom: yellow
5
  colorTo: blue
 
1
  ---
2
+ title: TryOnClothes
3
  emoji: πŸ‘•
4
  colorFrom: yellow
5
  colorTo: blue
app.py CHANGED
@@ -35,12 +35,13 @@ def generate_with_mask_(image_path: str, cloth_path: str = None, prompt: str = N
35
 
36
 
37
  with gr.Blocks() as demo:
38
- with gr.Row():
39
- image = gr.inputs.Image(label = "Input Image")
40
- with gr.Row():
41
- cloth = gr.inputs.Image(label = "Cloth Image")
42
- with gr.Row():
43
- prompt = gr.inputs.Textbox(lines=5, label="Editing Prompt")
 
44
  with gr.Column():
45
  output = gr.outputs.Image(label="Generated Image")
46
  run = gr.Button(label="Generate Preview")
 
35
 
36
 
37
  with gr.Blocks() as demo:
38
+ with gr.Column():
39
+ with gr.Row():
40
+ image = gr.inputs.Image(label = "Input Image")
41
+ with gr.Row():
42
+ cloth = gr.inputs.Image(label = "Cloth Image")
43
+ with gr.Row():
44
+ prompt = gr.inputs.Textbox(lines=5, label="Editing Prompt")
45
  with gr.Column():
46
  output = gr.outputs.Image(label="Generated Image")
47
  run = gr.Button(label="Generate Preview")