fffiloni commited on
Commit
7d85f26
Β·
verified Β·
1 Parent(s): 6bc8c80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -95,9 +95,14 @@ def process_images(left_img, right_img, method, color_method):
95
  return make_stereopair(right_img, left_img, color_method)
96
  return None
97
 
 
 
 
 
 
98
  # Create the Gradio interface
99
- with gr.Blocks() as app:
100
- with gr.Column():
101
  gr.Markdown("# 3D Anaglyph Image Generator")
102
  gr.Markdown("Upload left and right images to create 3D images using different methods.")
103
 
 
95
  return make_stereopair(right_img, left_img, color_method)
96
  return None
97
 
98
+ css="""
99
+ div#col-container{
100
+ max-width: 960px;
101
+ }
102
+ """
103
  # Create the Gradio interface
104
+ with gr.Blocks(css=css) as app:
105
+ with gr.Column(elem_id="col-container"):
106
  gr.Markdown("# 3D Anaglyph Image Generator")
107
  gr.Markdown("Upload left and right images to create 3D images using different methods.")
108