salaz055 commited on
Commit
d59f4ba
·
1 Parent(s): 81790ad

update launch

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -18,12 +18,11 @@ def classify(im):
18
  return confidences
19
 
20
  interface = gr.Interface(
21
- fn= classify,
22
  inputs= "image",
23
  outputs= "label",
24
  title = 'Leaf Classication',
25
- description = "Many farming businesses are turning machine learning to monitor their crops automatically with great accuracy. This application can be used to detect Angular Leaf Spot and Bean Rust!" ,
26
- #examples = [["/content/4702250d-2b9b-4dc6-b991-552d03ecedc4.png"] , ["/content/collard-greens-contain-many-nutrients.jpg"]]
27
  )
28
 
29
- interface.launch()
 
18
  return confidences
19
 
20
  interface = gr.Interface(
21
+ fn = classify,
22
  inputs= "image",
23
  outputs= "label",
24
  title = 'Leaf Classication',
25
+ description = "Many farming businesses are turning machine learning to monitor their crops automatically with great accuracy. This application can be used to detect Angular Leaf Spot and Bean Rust!"
 
26
  )
27
 
28
+ interface.launch(share = True)