John6666 commited on
Commit
aad6757
β€’
1 Parent(s): 3169a1c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -105,7 +105,7 @@ def add_gallery(image, model_str, gallery):
105
 
106
 
107
  CSS="""
108
- #container { max-width: 1200px; margin: 0 auto; !important; }
109
  .output { width=112px; height=112px; !important; }
110
  .gallery { width=100%; min_height=768px; !important; }
111
  .guide { text-align: center; !important; }
@@ -136,7 +136,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
136
  with gr.Group():
137
  with gr.Row():
138
  output = [gr.Image(label=m, show_download_button=True, elem_classes="output",
139
- interactive=False, min_width=80, show_share_button=False, format=".png",
140
  visible=True) for m in default_models]
141
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
142
 
@@ -182,7 +182,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
182
  with gr.Group():
183
  with gr.Row():
184
  output2 = [gr.Image(label='', show_download_button=True, elem_classes="output",
185
- interactive=False, min_width=80, visible=True, format=".png",
186
  show_share_button=False, show_label=False) for _ in range(max_images)]
187
 
188
  with gr.Column(scale=2):
 
105
 
106
 
107
  CSS="""
108
+ .gradio-container { max-width: 1200px; margin: 0 auto; !important; }
109
  .output { width=112px; height=112px; !important; }
110
  .gallery { width=100%; min_height=768px; !important; }
111
  .guide { text-align: center; !important; }
 
136
  with gr.Group():
137
  with gr.Row():
138
  output = [gr.Image(label=m, show_download_button=True, elem_classes="output",
139
+ interactive=False, min_width=80, show_share_button=False, format="png",
140
  visible=True) for m in default_models]
141
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
142
 
 
182
  with gr.Group():
183
  with gr.Row():
184
  output2 = [gr.Image(label='', show_download_button=True, elem_classes="output",
185
+ interactive=False, min_width=80, visible=True, format="png",
186
  show_share_button=False, show_label=False) for _ in range(max_images)]
187
 
188
  with gr.Column(scale=2):