Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=[
|
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()
|