filip_praca commited on
Commit
c75b835
1 Parent(s): 3f7b111
Files changed (1) hide show
  1. app.py +7 -7
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
- # 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)
 
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)