Spaces:
Runtime error
Runtime error
filip_praca
commited on
Commit
•
c75b835
1
Parent(s):
3f7b111
test
Browse files
app.py
CHANGED
@@ -38,13 +38,13 @@ demo = gr.Interface(
|
|
38 |
title="Iris Flower Predictive Analytics",
|
39 |
description="Experiment with sepal/petal lengths/widths to predict which flower it is.",
|
40 |
allow_flagging="never",
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
)
|
49 |
|
50 |
demo.launch(debug=True)
|
|
|
38 |
title="Iris Flower Predictive Analytics",
|
39 |
description="Experiment with sepal/petal lengths/widths to predict which flower it is.",
|
40 |
allow_flagging="never",
|
41 |
+
inputs=[
|
42 |
+
gr.inputs.Number(default=2.0, label="sepal length (cm)"),
|
43 |
+
gr.inputs.Number(default=1.0, label="sepal width (cm)"),
|
44 |
+
gr.inputs.Number(default=2.0, label="petal length (cm)"),
|
45 |
+
gr.inputs.Number(default=1.0, label="petal width (cm)"),
|
46 |
+
],
|
47 |
+
outputs=gr.Image(type="pil")
|
48 |
)
|
49 |
|
50 |
demo.launch(debug=True)
|