Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ UPLOAD_FOLDER = '/tmp/uploads'
|
|
| 23 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
| 24 |
|
| 25 |
# Label klasifikasi tanah
|
| 26 |
-
class_labels = ['
|
| 27 |
num_classes = len(class_labels)
|
| 28 |
|
| 29 |
# Load model ViT (PyTorch)
|
|
|
|
| 23 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
| 24 |
|
| 25 |
# Label klasifikasi tanah
|
| 26 |
+
class_labels = ['Alluvial Soil', 'Black Soil', 'Clay Soil', 'Non Soil', 'Red Soil']
|
| 27 |
num_classes = len(class_labels)
|
| 28 |
|
| 29 |
# Load model ViT (PyTorch)
|