Josh commited on
Commit
a4f6f79
1 Parent(s): 7662949

new examples

Browse files
app.py CHANGED
@@ -18,7 +18,7 @@ def predict(img):
18
  title = "Pet Breed Classifier"
19
  description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces. Thank you to Tanishq Abraham for making this demo."
20
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
21
- examples = ['scratch.jpg']
22
  interpretation='default'
23
  enable_queue=True
24
  gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue)
 
18
  title = "Pet Breed Classifier"
19
  description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces. Thank you to Tanishq Abraham for making this demo."
20
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
21
+ examples = ['scratch.jpg', 'doge.jpg', 'doge_weird.jpg']
22
  interpretation='default'
23
  enable_queue=True
24
  gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue)
doge.jpg ADDED
doge_weird.jpg ADDED
export.pkl:Zone.Identifier ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [ZoneTransfer]
2
+ ZoneId=3
3
+ HostUrl=about:internet
scratch.jpg:Zone.Identifier ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [ZoneTransfer]
2
+ ZoneId=3