OttoYu commited on
Commit
04091cd
·
1 Parent(s): 36ae9d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
 
2
 
3
  model=gr.Interface.load("models/OttoYu/TreeClassification",
4
  title="🌳 Tree Classification by Simple machine learning",
5
- description="This web application can identify trees with only one image upload. Since this application is on trial, if you find any errors, please contact [email protected].")
6
- model.launch()
 
 
1
  import gradio as gr
2
+ import os
3
 
4
  model=gr.Interface.load("models/OttoYu/TreeClassification",
5
  title="🌳 Tree Classification by Simple machine learning",
6
+ description="This web application can identify trees with only one image upload. Since this application is on trial, if you find any errors, please contact [email protected].",
7
+ examples=[ os.path.join(os.path.dirname(__file__), "img1.jpg"), os.path.join(os.path.dirname(__file__),"img2.jpg"),os.path.join(os.path.dirname(__file__), "img3.png") ]) )
8
+ "__main__": model.launch()