Insta360-Research commited on
Commit
16819da
·
verified ·
1 Parent(s): 1a2571d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -228,11 +228,11 @@ with gr.Blocks() as demo:
228
  # ========== Right ==========
229
  with gr.Column(scale=2):
230
  with gr.Row():
231
- out_color = gr.Image(label="Depth (Color)", height=260, scale=5)
232
- colorbar_color = gr.Image(label="Scale", height=260, scale=1, show_label=False)
233
  with gr.Row():
234
- out_gray = gr.Image(label="Depth (Gray)", height=260, scale=5)
235
- colorbar_gray = gr.Image(label="Scale", height=260, scale=1, show_label=False)
236
  out_npy = gr.File(label="Depth (.npy)")
237
 
238
  # 1️⃣ 跑模型
 
228
  # ========== Right ==========
229
  with gr.Column(scale=2):
230
  with gr.Row():
231
+ out_color = gr.Image(label="Depth (Color)", height=260, scale=20)
232
+ colorbar_color = gr.Image(label="Scale", height=260, scale=1, show_label=False, min_width=100)
233
  with gr.Row():
234
+ out_gray = gr.Image(label="Depth (Gray)", height=260, scale=20)
235
+ colorbar_gray = gr.Image(label="Scale", height=260, scale=1, show_label=False, min_width=100)
236
  out_npy = gr.File(label="Depth (.npy)")
237
 
238
  # 1️⃣ 跑模型