Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def predict(img):
|
|
| 12 |
|
| 13 |
title = "宠物分类器"
|
| 14 |
description = "使用 fastai 在Oxford Pets数据集上训练的宠物品种分类器。"
|
| 15 |
-
article="<p style='text-align: center'><a href='https://
|
| 16 |
examples = ['staffordshire_bull_terrier_11.jpg']
|
| 17 |
|
| 18 |
gr.Interface(fn=predict,inputs=gr.Image(),outputs=gr.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples).launch()
|
|
|
|
| 12 |
|
| 13 |
title = "宠物分类器"
|
| 14 |
description = "使用 fastai 在Oxford Pets数据集上训练的宠物品种分类器。"
|
| 15 |
+
article="<p style='text-align: center'><a href='https://ai.maogoujiaoliuqi.com/' target='_blank'>番石榴实验室</a></p>"
|
| 16 |
examples = ['staffordshire_bull_terrier_11.jpg']
|
| 17 |
|
| 18 |
gr.Interface(fn=predict,inputs=gr.Image(),outputs=gr.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples).launch()
|