piyushgrover commited on
Commit
e20cb14
·
1 Parent(s): ea2f0f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -57,11 +57,7 @@ sample_images = [
57
  ['images/000018.jpg'],
58
  ['images/000019.jpg'],
59
  ['images/000020.jpg'],
60
- ['images/000021.jpg'],
61
- ['images/000022.jpg'],
62
- ['images/000023.jpg'],
63
- ['images/000024.jpg'],
64
- ['images/000025.jpg']
65
  ]
66
 
67
  with gr.Blocks() as app:
@@ -114,7 +110,7 @@ with gr.Blocks() as app:
114
  with gr.Row(visible=True) as top_pred_cls_col:
115
  with gr.Column():
116
  example_images = gr.Gallery(allow_preview=False, label='Select image ', info='',
117
- value=[img[0] for img in sample_images], columns=9, rows=2)
118
 
119
  with gr.Column():
120
  top_pred_image = gr.Image(label='Upload Image or Select from the gallery')
 
57
  ['images/000018.jpg'],
58
  ['images/000019.jpg'],
59
  ['images/000020.jpg'],
60
+ ['images/000021.jpg']
 
 
 
 
61
  ]
62
 
63
  with gr.Blocks() as app:
 
110
  with gr.Row(visible=True) as top_pred_cls_col:
111
  with gr.Column():
112
  example_images = gr.Gallery(allow_preview=False, label='Select image ', info='',
113
+ value=[img[0] for img in sample_images], columns=7, rows=2)
114
 
115
  with gr.Column():
116
  top_pred_image = gr.Image(label='Upload Image or Select from the gallery')