Amar Gill commited on
Commit
02ba6f7
1 Parent(s): 7e642dd

add panda jpg

Browse files
Files changed (2) hide show
  1. app.py +4 -5
  2. panda.jpg +0 -0
app.py CHANGED
@@ -18,10 +18,10 @@ def predict(img):
18
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
19
 
20
 
21
- title = "Pet Breed Classifier"
22
- description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
23
  article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
24
- examples = ["siamese.PNG", "poodle.jpg"]
25
  interpretation = "default"
26
  enable_queue = True
27
 
@@ -34,5 +34,4 @@ gr.Interface(
34
  article=article,
35
  examples=examples,
36
  interpretation=interpretation,
37
- enable_queue=enable_queue,
38
- ).launch()
 
18
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
19
 
20
 
21
+ title = "Cat or Dog Classifier"
22
+ description = "Classifier to determine if a photo is a cat or not."
23
  article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
24
+ examples = ["siamese.PNG", "poodle.jpg", "panda.jpg"]
25
  interpretation = "default"
26
  enable_queue = True
27
 
 
34
  article=article,
35
  examples=examples,
36
  interpretation=interpretation,
37
+ ).launch(enable_queue=enable_queue)
 
panda.jpg ADDED