change labels to be initcap
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ iface = gr.Interface(
|
|
18 |
fn=predict_amputation,
|
19 |
title=title,
|
20 |
description=description,
|
21 |
-
inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, label="
|
22 |
outputs="text",
|
23 |
#theme="darkdefault",
|
24 |
examples=[
|
|
|
18 |
fn=predict_amputation,
|
19 |
title=title,
|
20 |
description=description,
|
21 |
+
inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, label="Age"), gr.inputs.Dropdown(["Female", "Male"], default="Male", label="Gender"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"), gr.inputs.Dropdown(["1", "2"], default="1", label="Diabetes Type")],
|
22 |
outputs="text",
|
23 |
#theme="darkdefault",
|
24 |
examples=[
|