Spaces:
Running
Running
Update
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ Note: The outer clothing type and accessories can be omitted.""",
|
|
72 |
|
73 |
with gr.Column():
|
74 |
with gr.Row():
|
75 |
-
label_image = gr.Image(label="Label Image", type="numpy", elem_id="label-image")
|
76 |
|
77 |
with gr.Row():
|
78 |
texture_text = gr.Textbox(
|
@@ -98,7 +98,7 @@ Note: Currently, only 5 types of textures are supported, i.e., pure color, strip
|
|
98 |
|
99 |
with gr.Column():
|
100 |
with gr.Row():
|
101 |
-
result = gr.Image(label="Result"
|
102 |
|
103 |
input_image.change(
|
104 |
fn=model.process_pose_image,
|
|
|
72 |
|
73 |
with gr.Column():
|
74 |
with gr.Row():
|
75 |
+
label_image = gr.Image(label="Label Image", type="numpy", format="png", elem_id="label-image")
|
76 |
|
77 |
with gr.Row():
|
78 |
texture_text = gr.Textbox(
|
|
|
98 |
|
99 |
with gr.Column():
|
100 |
with gr.Row():
|
101 |
+
result = gr.Image(label="Result")
|
102 |
|
103 |
input_image.change(
|
104 |
fn=model.process_pose_image,
|
style.css
CHANGED
@@ -6,8 +6,5 @@ h1 {
|
|
6 |
max-height: 300px;
|
7 |
}
|
8 |
#label-image {
|
9 |
-
height: 300px;
|
10 |
-
}
|
11 |
-
#result-image {
|
12 |
-
height: 300px;
|
13 |
}
|
|
|
6 |
max-height: 300px;
|
7 |
}
|
8 |
#label-image {
|
9 |
+
max-height: 300px;
|
|
|
|
|
|
|
10 |
}
|