remove the label parameter for age
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
|
22 |
outputs="text",
|
23 |
theme="darkdefault")
|
24 |
|
|
|
18 |
fn=greet,
|
19 |
title=title,
|
20 |
description=description,
|
21 |
+
inputs=[gr.inputs.Number(default=None), 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 |
theme="darkdefault")
|
24 |
|