Spaces:
Running
Running
Restructured UI
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
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.
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
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")
|