change items back to dropdown
Browse files
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.
|
| 61 |
gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"),
|
| 62 |
-
gr.inputs.
|
| 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=[
|