jamesd22 commited on
Commit
da90317
1 Parent(s): 71df184

Add some example inputs to it simple to try the classifier

Browse files
Files changed (3) hide show
  1. app.py +1 -2
  2. currawong.jfif +3 -0
  3. magpie.jpg +3 -0
app.py CHANGED
@@ -12,12 +12,11 @@ def predict(img):
12
 
13
  title = "Currawong vs Magpie Classifier"
14
  description = "Distinguish between two often-confused birds - the Magpie and the Currawong"
15
- # article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
16
  examples = ['magpie_example.jpg', 'currawong.jfif']
17
  gr.Interface(
18
  title=title,
19
  description=description,
20
- # examples=examples,
21
  interpretation='default',
22
  enable_queue=True,
23
  fn=predict,
 
12
 
13
  title = "Currawong vs Magpie Classifier"
14
  description = "Distinguish between two often-confused birds - the Magpie and the Currawong"
 
15
  examples = ['magpie_example.jpg', 'currawong.jfif']
16
  gr.Interface(
17
  title=title,
18
  description=description,
19
+ examples=examples,
20
  interpretation='default',
21
  enable_queue=True,
22
  fn=predict,
currawong.jfif ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10b0ce61f582c239d131039ea4bebd6071e034e4e4890266e7a68215014c7171
3
+ size 484468
magpie.jpg ADDED

Git LFS Details

  • SHA256: c7cc59d843fac66de8811c2bb0e0617075206b2e6cc34adf061a83294939134f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.42 MB