cakiki commited on
Commit
a8cea13
·
1 Parent(s): 55120dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
30
  no = gr.Radio(nos, label="Image number")
31
  with gr.Row():
32
  image = gr.Image(shape=(64,64))
33
- gallery = gr.Gallery().style(grid=[8,8])
34
  button = gr.Button(value="Get nearest neighbors")
35
  button.click(get_nearest_64, inputs=[gender, ethnicity, model, no], outputs=[image, gallery])
36
  demo.launch()
 
30
  no = gr.Radio(nos, label="Image number")
31
  with gr.Row():
32
  image = gr.Image(shape=(64,64))
33
+ gallery = gr.Gallery().style(grid=[2,4])
34
  button = gr.Button(value="Get nearest neighbors")
35
  button.click(get_nearest_64, inputs=[gender, ethnicity, model, no], outputs=[image, gallery])
36
  demo.launch()