Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import AutoFeatureExtractor, AutoModelForImageClassification,
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
# Step 1: Download the model files locally
|
| 9 |
-
model_path = snapshot_download("shahad-alh/arabichar-finetuned-v2"
|
| 10 |
|
| 11 |
# Step 2: Add to Python path
|
| 12 |
sys.path.append(model_path)
|
|
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
# Step 1: Download the model files locally
|
| 9 |
+
model_path = snapshot_download("shahad-alh/arabichar-finetuned-v2")
|
| 10 |
|
| 11 |
# Step 2: Add to Python path
|
| 12 |
sys.path.append(model_path)
|