Zakia commited on
Commit
8d6f1ac
1 Parent(s): f8b8ee4

change items back to dropdown

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,9 +57,9 @@ iface = gr.Interface(
57
  description=description,
58
  article=article,
59
  inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, default=0, label="Age"),
60
- gr.inputs.Radio(["Female", "Male"], default="Female", label="Gender"),
61
  gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"),
62
- gr.inputs.Radio(["1", "2"], default="1", label="Diabetes Type")],
63
  outputs="html",
64
  theme="grass",
65
  examples=[
 
57
  description=description,
58
  article=article,
59
  inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, default=0, label="Age"),
60
+ gr.inputs.Dropdown(["Female", "Male"], default="Female", label="Gender"),
61
  gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"),
62
+ gr.inputs.Dropdown(["1", "2"], default="1", label="Diabetes Type")],
63
  outputs="html",
64
  theme="grass",
65
  examples=[