Spaces:
Sleeping
Sleeping
nkhimin commited on
Commit ·
63fdceb
1
Parent(s): 7ce5e5b
added filters
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def predict(img):
|
|
| 28 |
title = "Pet Breed Classifier"
|
| 29 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 30 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
| 31 |
-
path = Path('examples')
|
| 32 |
examples = list(path.iterdir())
|
| 33 |
|
| 34 |
gr.Interface(
|
|
|
|
| 28 |
title = "Pet Breed Classifier"
|
| 29 |
description = "A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 30 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
| 31 |
+
path = Path('examples').glob("*.png","*.jpg")
|
| 32 |
examples = list(path.iterdir())
|
| 33 |
|
| 34 |
gr.Interface(
|