Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,18 +36,8 @@ def classify_bird(img):
|
|
| 36 |
image_component = gr.Image(type="pil", label="Bird Image")
|
| 37 |
label_component = gr.Label(label="Classification result", num_top_classes=3)
|
| 38 |
description = """
|
| 39 |
-
## About 🤗
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
## Links 🔗
|
| 44 |
-
|
| 45 |
-
🔗 YouTube Livestream: https://youtube.com/live/bN9WTxzLBRE\n
|
| 46 |
-
🔗 Torchvision Model: https://pytorch.org/hub/nicolalandro_ntsnet-cub200_ntsnet/\n
|
| 47 |
-
🔗 Paper: http://artelab.dista.uninsubria.it/res/research/papers/2019/2019-IVCNZ-Nawaz-Birds.pdf\n
|
| 48 |
-
|
| 49 |
-
"""
|
| 50 |
-
title = "Bird Classifier 🐣"
|
| 51 |
|
| 52 |
demo = gr.Interface(fn=classify_bird, inputs=image_component, outputs=label_component, description=description, title=title)
|
| 53 |
|
|
|
|
| 36 |
image_component = gr.Image(type="pil", label="Bird Image")
|
| 37 |
label_component = gr.Label(label="Classification result", num_top_classes=3)
|
| 38 |
description = """
|
|
|
|
| 39 |
|
| 40 |
+
title = "Painting Classifier 🐣"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
demo = gr.Interface(fn=classify_bird, inputs=image_component, outputs=label_component, description=description, title=title)
|
| 43 |
|