walidhadri commited on
Commit
41d5ab0
·
1 Parent(s): 5a2967d

Remove unsupported show_api arg

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -127,6 +127,13 @@ CSS = """
127
  margin: 0 auto !important;
128
  width: 100% !important;
129
  }
 
 
 
 
 
 
 
130
  """
131
 
132
 
@@ -157,6 +164,8 @@ with gr.Blocks(css=CSS, theme=gr.themes.Soft()) as demo:
157
  examples=examples,
158
  inputs=[input_image],
159
  label="Examples",
 
 
160
  )
161
  with gr.Column(scale=1):
162
  with gr.Group(elem_classes="panel"):
 
127
  margin: 0 auto !important;
128
  width: 100% !important;
129
  }
130
+ #examples .gallery-item {
131
+ width: 120px !important;
132
+ height: 170px !important;
133
+ }
134
+ #examples .gallery-item img {
135
+ object-fit: contain !important;
136
+ }
137
  """
138
 
139
 
 
164
  examples=examples,
165
  inputs=[input_image],
166
  label="Examples",
167
+ elem_id="examples",
168
+ examples_per_page=12,
169
  )
170
  with gr.Column(scale=1):
171
  with gr.Group(elem_classes="panel"):