OttoYu commited on
Commit
43fdb96
·
1 Parent(s): bc745d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,8 +1,5 @@
1
  import gradio as gr
2
- import torch
3
- torch.hub.download_url_to_file('https://huggingface.co/spaces/OttoYu/TreeClassificationDemo/blob/main/img1.jpg', 'tree1.jpg')
4
 
5
  gr.Interface.load("models/OttoYu/TreeClassification",
6
  title="🌳 Tree Classification by Simple machine learning",
7
- 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 exottoyu@gmail.com."
8
- examples =[[‘tree1.jpg’]]).launch()
 
1
  import gradio as gr
 
 
2
 
3
  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 research.ottoyu@gmail.com.").launch()