Spaces:
Running
Running
selfitcamera
commited on
Commit
·
d147db3
1
Parent(s):
c51e1d5
init
Browse files
app.py
CHANGED
@@ -148,13 +148,14 @@ with gr.Blocks(css=css) as demo:
|
|
148 |
with gr.Row():
|
149 |
with gr.Column():
|
150 |
with gr.Column():
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
|
|
158 |
with gr.Column():
|
159 |
with gr.Column():
|
160 |
# pose_image = gr.Image(source='upload', value=pose_examples[0][1],
|
@@ -171,7 +172,7 @@ with gr.Blocks(css=css) as demo:
|
|
171 |
info_text = gr.Textbox(value="", interactive=False,
|
172 |
label='runtime information')
|
173 |
run_button = gr.Button(value="Run")
|
174 |
-
init_res = get_result_example(
|
175 |
res_image = gr.Image(label="result image", value=None, type="filepath")
|
176 |
MK01 = gr.Markdown()
|
177 |
|
|
|
148 |
with gr.Row():
|
149 |
with gr.Column():
|
150 |
with gr.Column():
|
151 |
+
cloth_id = gr.Textbox(value="497", interactive=True,
|
152 |
+
label='runtime information')
|
153 |
+
# cloth_image = gr.Image(sources='clipboard', type="filepath", label="",
|
154 |
+
# value=None)
|
155 |
+
# cloth_id = gr.Label(value=cloth_examples[0][0], label="Clothing 3D Model", visible=False)
|
156 |
+
# example = gr.Examples(inputs=[cloth_id, cloth_image],
|
157 |
+
# examples_per_page=3,
|
158 |
+
# examples = cloth_examples)
|
159 |
with gr.Column():
|
160 |
with gr.Column():
|
161 |
# pose_image = gr.Image(source='upload', value=pose_examples[0][1],
|
|
|
172 |
info_text = gr.Textbox(value="", interactive=False,
|
173 |
label='runtime information')
|
174 |
run_button = gr.Button(value="Run")
|
175 |
+
init_res = get_result_example(cloth_id, pose_examples[0][0])
|
176 |
res_image = gr.Image(label="result image", value=None, type="filepath")
|
177 |
MK01 = gr.Markdown()
|
178 |
|