Spaces:
Runtime error
Runtime error
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import AutoModelForImageClassification, AutoFeatureExtractor
|
|
| 4 |
import torch
|
| 5 |
|
| 6 |
# Carga el modelo y el extractor de características de Hugging Face
|
| 7 |
-
model_id = "
|
| 8 |
model = AutoModelForImageClassification.from_pretrained(model_id)
|
| 9 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_id)
|
| 10 |
|
|
|
|
| 4 |
import torch
|
| 5 |
|
| 6 |
# Carga el modelo y el extractor de características de Hugging Face
|
| 7 |
+
model_id = "ismaeltorres00/ModeloFinalEuroSat"
|
| 8 |
model = AutoModelForImageClassification.from_pretrained(model_id)
|
| 9 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_id)
|
| 10 |
|