lixiang46 commited on
Commit
943a705
1 Parent(s): 5c549be
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -134,9 +134,9 @@ with gr.Blocks(css=css) as Tryon:
134
  """)
135
  with gr.Column(elem_id = "col-showcase"):
136
  with gr.Row():
137
- image1 = gr.Image(label="Model", scale=1, value="assets/examples/model1.png", show_share_button=False, type="numpy", sources=None)
138
- image2 = gr.Image(label="Garment", scale=1, value="assets/examples/garment1.png", show_share_button=False, type="numpy", sources=None)
139
- image3 = gr.Image(label="Result", scale=1, value="assets/examples/result1.png", show_share_button=False, type="numpy", sources=None)
140
  show_case = gr.Examples(
141
  examples=[
142
  ["assets/examples/model1.png", "assets/examples/garment1.png", "assets/examples/result1.png"],
 
134
  """)
135
  with gr.Column(elem_id = "col-showcase"):
136
  with gr.Row():
137
+ image1 = gr.Image(label="Model", scale=1, value="assets/examples/model1.png", show_share_button=False, type="numpy", sources='upload')
138
+ image2 = gr.Image(label="Garment", scale=1, value="assets/examples/garment1.png", show_share_button=False, type="numpy", sources='upload')
139
+ image3 = gr.Image(label="Result", scale=1, value="assets/examples/result1.png", show_share_button=False, type="numpy", sources='upload')
140
  show_case = gr.Examples(
141
  examples=[
142
  ["assets/examples/model1.png", "assets/examples/garment1.png", "assets/examples/result1.png"],