Spaces:
Runtime error
Runtime error
Commit
·
517cf20
1
Parent(s):
ec8d9c7
Update app
Browse files
app.py
CHANGED
@@ -38,12 +38,12 @@ 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.
|
47 |
|
48 |
demo.launch(debug=True)
|
49 |
|
|
|
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 |
|
48 |
demo.launch(debug=True)
|
49 |
|