Spaces:
Running
Running
Tobias Geisler
commited on
Commit
·
d47fc51
1
Parent(s):
3837c32
Number field fix
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ iface = gr.Interface(
|
|
| 44 |
gr.Dropdown(choices=hair_color_options, label="Hair Color"),
|
| 45 |
gr.Dropdown(choices=eye_color_options, label="Eye Color"),
|
| 46 |
gr.Dropdown(choices=person_options, label="Person"),
|
| 47 |
-
gr.Number(label="Age",
|
| 48 |
gr.Dropdown(choices=style_options, label="style"),
|
| 49 |
],
|
| 50 |
outputs=[gr.Text(label="Prompt"), gr.Image(label="Generated Image")],
|
|
|
|
| 44 |
gr.Dropdown(choices=hair_color_options, label="Hair Color"),
|
| 45 |
gr.Dropdown(choices=eye_color_options, label="Eye Color"),
|
| 46 |
gr.Dropdown(choices=person_options, label="Person"),
|
| 47 |
+
gr.Number(label="Age", value=12, minimum=8, maximum=120, step=1, precision=0),
|
| 48 |
gr.Dropdown(choices=style_options, label="style"),
|
| 49 |
],
|
| 50 |
outputs=[gr.Text(label="Prompt"), gr.Image(label="Generated Image")],
|