Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,10 @@ demo = gr.Interface(
|
|
38 |
description="Experiment with sepal/petal lengths/widths to predict which flower it is.",
|
39 |
allow_flagging="never",
|
40 |
inputs=[
|
41 |
-
gr.
|
42 |
-
gr.
|
43 |
-
gr.
|
44 |
-
gr.
|
45 |
],
|
46 |
outputs=gr.Image(type="pil"))
|
47 |
|
|
|
38 |
description="Experiment with sepal/petal lengths/widths to predict which flower it is.",
|
39 |
allow_flagging="never",
|
40 |
inputs=[
|
41 |
+
gr.Number(default=2.0, label="sepal length (cm)"),
|
42 |
+
gr.Number(default=1.0, label="sepal width (cm)"),
|
43 |
+
gr.Number(default=2.0, label="petal length (cm)"),
|
44 |
+
gr.Number(default=1.0, label="petal width (cm)"),
|
45 |
],
|
46 |
outputs=gr.Image(type="pil"))
|
47 |
|