Spaces:
Runtime error
Runtime error
Commit ·
fdbc942
1
Parent(s): e74bbfb
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ model = AutoModelForImageClassification.from_pretrained(chk_point)
|
|
| 13 |
|
| 14 |
pipe = pipeline(
|
| 15 |
"image-classification",
|
| 16 |
-
|
| 17 |
accelerator="bettertransformer",device=device
|
| 18 |
)
|
| 19 |
|
|
|
|
| 13 |
|
| 14 |
pipe = pipeline(
|
| 15 |
"image-classification",
|
| 16 |
+
chk_point,
|
| 17 |
accelerator="bettertransformer",device=device
|
| 18 |
)
|
| 19 |
|