change diabetes type to be a dropdown
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ iface = gr.Interface(
|
|
63 |
title=title,
|
64 |
description=description,
|
65 |
article=article,
|
66 |
-
inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, default=0, label="Age"), gr.inputs.Dropdown(["Female", "Male"], default="Female", label="Gender"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"), gr.inputs.
|
67 |
outputs="text",
|
68 |
theme="darkhuggingface",
|
69 |
examples=[
|
|
|
63 |
title=title,
|
64 |
description=description,
|
65 |
article=article,
|
66 |
+
inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, default=0, label="Age"), gr.inputs.Dropdown(["Female", "Male"], default="Female", label="Gender"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"), gr.inputs.Dropdown(["1", "2"], default="1", label="Diabetes Type")],
|
67 |
outputs="text",
|
68 |
theme="darkhuggingface",
|
69 |
examples=[
|