zhangziang commited on
Commit
9868529
·
1 Parent(s): 53a5272

layout adjust

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -177,15 +177,15 @@ with gr.Blocks(title="Orient-Anything Demo") as demo:
177
  with gr.Row():
178
  with gr.Column(scale=1):
179
  gr.Markdown("### Absolute Pose (Reference)")
180
- az_out = gr.Textbox(label="Azimuth (0~360°)",scale=0.9)
181
- el_out = gr.Textbox(label="Polar (-90~90°)",scale=0.9)
182
- ro_out = gr.Textbox(label="Rotation (-90~90°)",scale=0.9)
183
- alpha_out = gr.Textbox(label="Number of Directions (0/1/2/4)",scale=0.9)
184
  with gr.Column(scale=1):
185
  gr.Markdown("### Relative Pose (Target w.r.t Reference)")
186
- rel_az_out = gr.Textbox(label="Relative Azimuth (0~360°)",scale=0.9)
187
- rel_el_out = gr.Textbox(label="Relative Polar (-90~90°)",scale=0.9)
188
- rel_ro_out = gr.Textbox(label="Relative Rotation (-90~90°)",scale=0.9)
189
 
190
  # 绑定点击事件
191
  run_btn.click(
 
177
  with gr.Row():
178
  with gr.Column(scale=1):
179
  gr.Markdown("### Absolute Pose (Reference)")
180
+ az_out = gr.Textbox(label="Azimuth (0~360°)",scale=0.5)
181
+ el_out = gr.Textbox(label="Polar (-90~90°)",scale=0.5)
182
+ ro_out = gr.Textbox(label="Rotation (-90~90°)",scale=0.5)
183
+ alpha_out = gr.Textbox(label="Number of Directions (0/1/2/4)",scale=0.5)
184
  with gr.Column(scale=1):
185
  gr.Markdown("### Relative Pose (Target w.r.t Reference)")
186
+ rel_az_out = gr.Textbox(label="Relative Azimuth (0~360°)",scale=0.5)
187
+ rel_el_out = gr.Textbox(label="Relative Polar (-90~90°)",scale=0.5)
188
+ rel_ro_out = gr.Textbox(label="Relative Rotation (-90~90°)",scale=0.5)
189
 
190
  # 绑定点击事件
191
  run_btn.click(