Spaces:
Runtime error
Runtime error
lixiang46 commited on
Commit ·
4311e2a
1
Parent(s): eaa8689
change type to numpy
Browse files49 unmodified lines505152535455561 unmodified line5859606162636449 unmodified linesgr.HTML(load_description("assets/title.md"))with gr.Row():with gr.Column():imgs = gr.Image(label="Person image", sources='upload', type="pil")# category = gr.Dropdown(label="Garment category", choices=['upper_body', 'lower_body', 'dresses'], value="upper_body")example = gr.Examples(inputs=imgs,1 unmodified lineexamples=human_list_path)with gr.Column():garm_img = gr.Image(label="Garment image", sources='upload', type="pil")example = gr.Examples(inputs=garm_img,examples_per_page=10,49 unmodified lines505152535455561 unmodified line5859606162636449 unmodified linesgr.HTML(load_description("assets/title.md"))with gr.Row():with gr.Column():imgs = gr.Image(label="Person image", sources='upload', type="numpy")# category = gr.Dropdown(label="Garment category", choices=['upper_body', 'lower_body', 'dresses'], value="upper_body")example = gr.Examples(inputs=imgs,1 unmodified lineexamples=human_list_path)with gr.Column():garm_img = gr.Image(label="Garment image", sources='upload', type="numpy")example = gr.Examples(inputs=garm_img,examples_per_page=10,
app.py+2-2