cakiki commited on
Commit
9b568ab
·
1 Parent(s): eb90290

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,9 +25,9 @@ def get_nearest_64(gender, ethnicity, model, no):
25
  return image, list(zip(neighbor_images, neighbor_captions))
26
 
27
  with gr.Blocks() as demo:
28
- with gr.Row():
29
  gender = gr.Radio(gender_labels, label="Gender label")
30
- with gr.Row():
31
  ethnicity = gr.Radio(ethnicity_labels, label="Ethnicity label")
32
  model = gr.Radio(models, label="Model")
33
  no = gr.Radio(nos, label="Image number")
 
25
  return image, list(zip(neighbor_images, neighbor_captions))
26
 
27
  with gr.Blocks() as demo:
28
+ with gr.Column():
29
  gender = gr.Radio(gender_labels, label="Gender label")
30
+ with gr.Column():
31
  ethnicity = gr.Radio(ethnicity_labels, label="Ethnicity label")
32
  model = gr.Radio(models, label="Model")
33
  no = gr.Radio(nos, label="Image number")