pablo commited on
Commit
c013629
·
1 Parent(s): c7d558b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,8 +129,8 @@ with image_blocks as demo:
129
  with gr.Row():
130
  with gr.Column():
131
  image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
132
- depth = gr.Image(source='upload', elem_id="depth_upload", type="pil", label="Upload",height=400)
133
-
134
  print(depth)
135
 
136
  with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):
 
129
  with gr.Row():
130
  with gr.Column():
131
  image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
132
+ depth = gr.Image(source='upload', elem_id="depth_upload", type="pil", label="Upload",height=400, image_mode="L")
133
+
134
  print(depth)
135
 
136
  with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):