Spaces:
Runtime error
Runtime error
desc
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ vision_classifier = pipeline(task="image-classification",
|
|
5 |
model="microsoft/beit-base-patch16-224-pt22k-ft22k")
|
6 |
iface = gr.Interface.from_pipeline(vision_classifier,
|
7 |
title="2-line Object Recognition using HF Pipeline",
|
8 |
-
description="Demonstrates how to use
|
9 |
examples=['data/wonder_cat.jpg', 'data/aki_dog.jpg',],
|
10 |
article = "Author: <a href=\"https://huggingface.co/rowel\">Rowel Atienza</a>",
|
11 |
).launch()
|
|
|
5 |
model="microsoft/beit-base-patch16-224-pt22k-ft22k")
|
6 |
iface = gr.Interface.from_pipeline(vision_classifier,
|
7 |
title="2-line Object Recognition using HF Pipeline",
|
8 |
+
description="Demonstrates how to use HF pipeline and gradio.",
|
9 |
examples=['data/wonder_cat.jpg', 'data/aki_dog.jpg',],
|
10 |
article = "Author: <a href=\"https://huggingface.co/rowel\">Rowel Atienza</a>",
|
11 |
).launch()
|