filip_praca commited on
Commit
3f7b111
·
1 Parent(s): 6de7fb8

inputs test

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -38,13 +38,14 @@ 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
  demo.launch(debug=True)
50
 
 
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)
51