manoh2f2 commited on
Commit
f1d8420
·
1 Parent(s): a0d03a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ images = ["images/daisy.jpg", "images/dandelion.jpg", "images/rosa.jpg", "images
5
 
6
  iface = gr.Interface(
7
  model,
 
 
8
  examples= [ [example] for example in images],
9
  description="Daisy, Dandelion, Rose, Sonflower, Tulip",
10
  title="FLower Classifier - Vit"
 
5
 
6
  iface = gr.Interface(
7
  model,
8
+ inputs = gr.Image(type="pil", label="Upload Image"),
9
+ outputs = gr.Textbox(),
10
  examples= [ [example] for example in images],
11
  description="Daisy, Dandelion, Rose, Sonflower, Tulip",
12
  title="FLower Classifier - Vit"