Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,6 @@ from transformers import pipeline
|
|
9 |
pipe = pipeline(task="image-classification",
|
10 |
model="nateraw/vit-base-beans")
|
11 |
|
12 |
-
gr.Interface.from_pipeline(pipe,
|
13 |
-
title="Image Classification",
|
14 |
-
description="Test",
|
15 |
examples=["example-leaf.jpeg"],
|
16 |
).launch()
|
|
|
9 |
pipe = pipeline(task="image-classification",
|
10 |
model="nateraw/vit-base-beans")
|
11 |
|
12 |
+
gr.Interface.from_pipeline(pipe,
|
|
|
|
|
13 |
examples=["example-leaf.jpeg"],
|
14 |
).launch()
|