Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
zhangziang
commited on
Commit
·
9868529
1
Parent(s):
53a5272
layout adjust
Browse files
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.
|
| 181 |
-
el_out = gr.Textbox(label="Polar (-90~90°)",scale=0.
|
| 182 |
-
ro_out = gr.Textbox(label="Rotation (-90~90°)",scale=0.
|
| 183 |
-
alpha_out = gr.Textbox(label="Number of Directions (0/1/2/4)",scale=0.
|
| 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.
|
| 187 |
-
rel_el_out = gr.Textbox(label="Relative Polar (-90~90°)",scale=0.
|
| 188 |
-
rel_ro_out = gr.Textbox(label="Relative Rotation (-90~90°)",scale=0.
|
| 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(
|