selfitcamera
commited on
Commit
•
1f79c7c
1
Parent(s):
003bee5
update
Browse files
app.py
CHANGED
@@ -156,7 +156,8 @@ with gr.Blocks(css=css) as demo:
|
|
156 |
with gr.Column():
|
157 |
with gr.Column():
|
158 |
size_slider = gr.Slider(-2.5, 2.5, value=1, interactive=True, label="clothes size")
|
159 |
-
|
|
|
160 |
run_button = gr.Button(value="Run")
|
161 |
init_res = get_result_example(cloth_examples[0][0], pose_examples[0][0])
|
162 |
res_image = gr.Image(label="result image", value=None, type="filepath")
|
@@ -164,8 +165,7 @@ with gr.Blocks(css=css) as demo:
|
|
164 |
# res_image = gr.Image(label="result image", value=cv2.imread(init_res),
|
165 |
# type="numpy")
|
166 |
MK01 = gr.Markdown()
|
167 |
-
|
168 |
-
label='runtime information')
|
169 |
|
170 |
with gr.Tab('history'):
|
171 |
|
|
|
156 |
with gr.Column():
|
157 |
with gr.Column():
|
158 |
size_slider = gr.Slider(-2.5, 2.5, value=1, interactive=True, label="clothes size")
|
159 |
+
info_text = gr.Textbox(value="", interactive=False,
|
160 |
+
label='runtime information')
|
161 |
run_button = gr.Button(value="Run")
|
162 |
init_res = get_result_example(cloth_examples[0][0], pose_examples[0][0])
|
163 |
res_image = gr.Image(label="result image", value=None, type="filepath")
|
|
|
165 |
# res_image = gr.Image(label="result image", value=cv2.imread(init_res),
|
166 |
# type="numpy")
|
167 |
MK01 = gr.Markdown()
|
168 |
+
|
|
|
169 |
|
170 |
with gr.Tab('history'):
|
171 |
|