vumichien commited on
Commit
72928e7
Β·
1 Parent(s): 17ee78f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,10 +5,10 @@ examples = ["image_1.png", "image_2.png"]
5
  repo_id = "hugginglearners/grapevine_leaves_classification"
6
 
7
  def get_y(r):
8
- return r["label"]
9
 
10
  def get_x(r):
11
- γ€€γ€€return path/r["fname"]
12
  γ€€γ€€
13
  learner = from_pretrained_fastai(repo_id)
14
 
 
5
  repo_id = "hugginglearners/grapevine_leaves_classification"
6
 
7
  def get_y(r):
8
+ return r["label"]
9
 
10
  def get_x(r):
11
+ γ€€return path/r["fname"]
12
  γ€€γ€€
13
  learner = from_pretrained_fastai(repo_id)
14