alexnasa commited on
Commit
a277dd8
·
verified ·
1 Parent(s): 43d6de6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -278,14 +278,17 @@ with gr.Blocks(css=css) as demo:
278
 
279
  status = gr.Textbox(label="Status", lines=6, interactive=True, value="Upload an image to start.")
280
 
281
- with gr.Column():
282
- with gr.Row():
283
- crop_img = gr.Image(label="Preprocessed", height=256)
284
- normals_img = gr.Image(label="Normals", height=256)
285
- with gr.Row():
286
- uv_img = gr.Image(label="UV Map", height=256)
287
- track_img = gr.Image(label="Tracking", height=256)
288
- mesh_file = gr.Model3D(label="3D Model Preview")
 
 
 
289
 
290
  examples = gr.Examples(
291
  examples=["example_images/jim_carrey.png", "example_images/margaret_qualley.png"],
 
278
 
279
  status = gr.Textbox(label="Status", lines=6, interactive=True, value="Upload an image to start.")
280
 
281
+ with gr.Tabs():
282
+ with gr.Tab("Results"):
283
+ with gr.Column():
284
+ with gr.Row():
285
+ crop_img = gr.Image(label="Preprocessed", height=256)
286
+ normals_img = gr.Image(label="Normals", height=256)
287
+ with gr.Row():
288
+ uv_img = gr.Image(label="UV Map", height=256)
289
+ track_img = gr.Image(label="Tracking", height=256)
290
+ with gr.Tab("3D Model"):
291
+ mesh_file = gr.Model3D(label="3D Model Preview")
292
 
293
  examples = gr.Examples(
294
  examples=["example_images/jim_carrey.png", "example_images/margaret_qualley.png"],