Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,6 @@ def predict(img):
|
|
| 16 |
title = "Pet Classifier"
|
| 17 |
description = "A pet classifier trained on the duckduckgo search result with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 18 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
| 19 |
-
examples = ['isaac.jpg']
|
| 20 |
|
| 21 |
-
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=
|
| 22 |
-
title=title, description=description, article=article
|
|
|
|
| 16 |
title = "Pet Classifier"
|
| 17 |
description = "A pet classifier trained on the duckduckgo search result with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 18 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
|
|
|
| 19 |
|
| 20 |
+
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Label(num_top_classes=2),
|
| 21 |
+
title=title, description=description, article=article).launch()
|