nami0342 commited on
Commit
09fc9cd
Β·
1 Parent(s): 248be86

Gradio example per page count chnaged for mobile

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -267,13 +267,13 @@ with image_blocks as demo:
267
  with gr.Column():
268
  imgs = gr.ImageEditor(sources='upload', type="pil", label='λŒ€μƒ 이미지', interactive=True)
269
  with gr.Row():
270
- is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
271
- # with gr.Row():
272
- # is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
273
 
274
  example = gr.Examples(
275
  inputs=imgs,
276
- examples_per_page=10,
277
  examples=human_ex_list
278
  )
279
 
 
267
  with gr.Column():
268
  imgs = gr.ImageEditor(sources='upload', type="pil", label='λŒ€μƒ 이미지', interactive=True)
269
  with gr.Row():
270
+ is_checked = gr.Checkbox(label="Yes", info="μžλ™ λ§ˆμŠ€ν‚Ή",value=True)
271
+ # with gr.Row():
272
+ # is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
273
 
274
  example = gr.Examples(
275
  inputs=imgs,
276
+ examples_per_page=8,
277
  examples=human_ex_list
278
  )
279