Spaces:
Runtime error
Runtime error
lixiang46 commited on
Commit ·
fe775c6
1
Parent(s): 534e5bb
delete spaces.gpu
Browse filesFiles changed (2)
- app.py+3-5
- assets/title.md+2-2
4 unmodified lines56789101112131442 unmodified lines57585960616263646566674 unmodified linesimport gradio as grimport numpy as npimport randomimport spaces@spaces.GPUdef start_tryon(imgs, garm_img, garment_des, seed):return None42 unmodified linesgarm_img = gr.Image(label="Garment image", sources='upload', type="pil")example = gr.Examples(inputs=garm_img,examples_per_page=8,examples=garm_list_path)with gr.Column():image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)try_button = gr.Button(value="Try-on")with gr.Column():4 unmodified lines5678910111242 unmodified lines55565758596061626364654 unmodified linesimport gradio as grimport numpy as npimport randomdef start_tryon(imgs, garm_img, garment_des, seed):return None42 unmodified linesgarm_img = gr.Image(label="Garment image", sources='upload', type="pil")example = gr.Examples(inputs=garm_img,examples_per_page=10,examples=garm_list_path)with gr.Column():image_out = gr.Image(label="Output", show_share_button=False)try_button = gr.Button(value="Try-on", elem_id="button")with gr.Column():
123version https://git-lfs.github.com/spec/v1oid sha256:79f28d9f0cc8ac8b370ab4bf945a9450dfb6c7febdf3c56d26b1cecd4d386632size 604123version https://git-lfs.github.com/spec/v1oid sha256:3c86a5e30f526a0500fe8ede780fe76ce4e0fe46378511f00df575cacd6ca72bsize 605
app.py+3-5
assets/title.md+2-2