change label of age input to be initcap
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ iface = gr.Interface(
|
|
18 |
fn=greet,
|
19 |
title=title,
|
20 |
description=description,
|
21 |
-
inputs=[gr.inputs.Number(default=None, label=
|
22 |
outputs="text")
|
23 |
|
24 |
iface.launch()
|
|
|
18 |
fn=greet,
|
19 |
title=title,
|
20 |
description=description,
|
21 |
+
inputs=[gr.inputs.Number(default=None, label="Age"), gr.inputs.Dropdown(["Female", "Male"], default="Male"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian"), gr.inputs.Dropdown(["1", "2"], default="1")],
|
22 |
outputs="text")
|
23 |
|
24 |
iface.launch()
|