meetsuki commited on
Commit
81128ad
·
1 Parent(s): 3d06034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,11 +18,11 @@ def classify_images(image):
18
  return text_output
19
 
20
  i = gr.inputs.Image()
21
- o = gr.outputs.Textbox()
22
 
23
  examples = [["./examples/tulip.jpg"], ["./examples/daisy.jpg"], ["./examples/dandelion.jpg"], ["./examples/rose.jpg"], ["./examples/sunflower.jpg"]]
24
  title = "Flowers Recognition Using Transfer Learning"
25
- description = "Upload an image or select from the examples below to classify flowers"
26
 
27
  article = "<div style='text-align: center;'><a href='https://www.linkedin.com/in/suryakiran-mg/' target='_blank'> Space by Suryakiran </a></div>"
28
  gr.Interface(classify_images, i, o, allow_flagging=False, analytics_enabled=False,
 
18
  return text_output
19
 
20
  i = gr.inputs.Image()
21
+ o = gr.outputs.Textbox(lines =2,placeholder = " Flower Type...", label="Flower Name")
22
 
23
  examples = [["./examples/tulip.jpg"], ["./examples/daisy.jpg"], ["./examples/dandelion.jpg"], ["./examples/rose.jpg"], ["./examples/sunflower.jpg"]]
24
  title = "Flowers Recognition Using Transfer Learning"
25
+ description = "Upload an image or Select from the examples below to classify flowers : "
26
 
27
  article = "<div style='text-align: center;'><a href='https://www.linkedin.com/in/suryakiran-mg/' target='_blank'> Space by Suryakiran </a></div>"
28
  gr.Interface(classify_images, i, o, allow_flagging=False, analytics_enabled=False,