selfitcamera commited on
Commit
bc429c6
1 Parent(s): e6c4947
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css=css) as demo:
109
  with gr.Column():
110
  # cloth_image = gr.Image(type="numpy", value=cloth_examples[0][1], label="")
111
  cloth_image = gr.Image(sources='clipboard', type="filepath", label="",
112
- value=cloth_examples[0][1])
113
  cloth_id = gr.Label(value=cloth_examples[0][0], label="Clothing 3D Model", visible=False)
114
  example = gr.Examples(inputs=[cloth_id, cloth_image],
115
  examples_per_page=3,
@@ -118,7 +118,7 @@ with gr.Blocks(css=css) as demo:
118
  with gr.Column():
119
  # pose_image = gr.Image(source='upload', value=pose_examples[0][1],
120
  # type="numpy", label="")
121
- pose_image = gr.Image(value=pose_examples[0][1],
122
  type="numpy", label="")
123
  pose_id = gr.Label(value=pose_examples[0][0], label="Pose Image", visible=False)
124
  example_pose = gr.Examples(inputs=[pose_id, pose_image],
 
109
  with gr.Column():
110
  # cloth_image = gr.Image(type="numpy", value=cloth_examples[0][1], label="")
111
  cloth_image = gr.Image(sources='clipboard', type="filepath", label="",
112
+ value=None)
113
  cloth_id = gr.Label(value=cloth_examples[0][0], label="Clothing 3D Model", visible=False)
114
  example = gr.Examples(inputs=[cloth_id, cloth_image],
115
  examples_per_page=3,
 
118
  with gr.Column():
119
  # pose_image = gr.Image(source='upload', value=pose_examples[0][1],
120
  # type="numpy", label="")
121
+ pose_image = gr.Image(value=None,
122
  type="numpy", label="")
123
  pose_id = gr.Label(value=pose_examples[0][0], label="Pose Image", visible=False)
124
  example_pose = gr.Examples(inputs=[pose_id, pose_image],