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