ziqima commited on
Commit
90e9be6
·
1 Parent(s): 6ef2ecc

update layour

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -128,18 +128,20 @@ with gr.Blocks(theme=gr.themes.Default(text_size="lg", radius_size="none")) as d
128
  ("examples/objaverse/motorvehicle.jpg", "motor vehicle"),
129
  ("examples/objaverse/teddy.jpg", "teddy bear"),
130
  ("examples/objaverse/shirt.jpg", "shirt")],
131
- columns=3,
132
  allow_preview=False)
133
  gallery_objaverse.select(fn=on_select,
134
  inputs=None,
135
  outputs=[file_upload, part_queries])
 
 
136
  with gr.Column(scale=6):
137
  title = gr.HTML("""<h1 text-align="center">In the Wild</h1>
138
- <p style='font-size: 16px;'>Challenging in-the-wild reconstructions from iPhone photos & AI-generated images!</p>
139
  """)
140
  gallery_wild = gr.Gallery([("examples/wild/pushcar.jpg", "iPhone-pushcar"),
141
  ("examples/wild/plant.jpg", "iPhone-plant")],
142
- columns=3,
143
  allow_preview=False)
144
  gallery_wild.select(fn=on_select,
145
  inputs=None,
 
128
  ("examples/objaverse/motorvehicle.jpg", "motor vehicle"),
129
  ("examples/objaverse/teddy.jpg", "teddy bear"),
130
  ("examples/objaverse/shirt.jpg", "shirt")],
131
+ columns=6,
132
  allow_preview=False)
133
  gallery_objaverse.select(fn=on_select,
134
  inputs=None,
135
  outputs=[file_upload, part_queries])
136
+
137
+ with gr.Row(variant="panel"):
138
  with gr.Column(scale=6):
139
  title = gr.HTML("""<h1 text-align="center">In the Wild</h1>
140
+ <p style='font-size: 16px;'>Challenging in-the-wild reconstructions from iPhone photos!</p>
141
  """)
142
  gallery_wild = gr.Gallery([("examples/wild/pushcar.jpg", "iPhone-pushcar"),
143
  ("examples/wild/plant.jpg", "iPhone-plant")],
144
+ columns=6,
145
  allow_preview=False)
146
  gallery_wild.select(fn=on_select,
147
  inputs=None,