Uthar commited on
Commit
c8c6184
·
verified ·
1 Parent(s): 54a47aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -166,8 +166,14 @@ window.addEventListener('load', () => {
166
  </script>
167
  """
168
 
 
 
 
 
 
 
169
  # with gr.Blocks(fill_width=True, head=js) as demo:
170
- with gr.Blocks(theme="JohnSmith9982/small_and_pretty") as demo:
171
  with gr.Tab(str(num_models) + ' Models'):
172
  with gr.Column(scale=2):
173
  with gr.Group():
 
166
  </script>
167
  """
168
 
169
+ CSS="""
170
+ <style>
171
+ .gallery { min_width=512px; min_height=512px; max_height=512px; !important; }
172
+ </style>
173
+ """
174
+
175
  # with gr.Blocks(fill_width=True, head=js) as demo:
176
+ with gr.Blocks(css=CSS) as demo:
177
  with gr.Tab(str(num_models) + ' Models'):
178
  with gr.Column(scale=2):
179
  with gr.Group():