vumichien commited on
Commit
59d7497
·
1 Parent(s): 72928e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import gradio as gr
2
  from huggingface_hub import from_pretrained_fastai
 
3
 
4
  examples = ["image_1.png", "image_2.png"]
5
  repo_id = "hugginglearners/grapevine_leaves_classification"
 
6
 
7
  def get_y(r):
8
  return r["label"]
 
1
  import gradio as gr
2
  from huggingface_hub import from_pretrained_fastai
3
+ from pathlib import Path
4
 
5
  examples = ["image_1.png", "image_2.png"]
6
  repo_id = "hugginglearners/grapevine_leaves_classification"
7
+ path = Path("./")
8
 
9
  def get_y(r):
10
  return r["label"]