Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,9 @@ from torchvision import models, transforms
|
|
| 12 |
# ---------------------------
|
| 13 |
# Reverse Prediction Setup
|
| 14 |
# ---------------------------
|
| 15 |
-
|
|
|
|
|
|
|
| 16 |
crops = [
|
| 17 |
'ਚੌਲ',
|
| 18 |
'ਮੱਕੀ',
|
|
|
|
| 12 |
# ---------------------------
|
| 13 |
# Reverse Prediction Setup
|
| 14 |
# ---------------------------
|
| 15 |
+
url = "https://raw.githubusercontent.com/sehajpreet22/data/refs/heads/main/cleaned_crop_data_with_pbi_labels.csv"
|
| 16 |
+
data = pd.read_csv(url)
|
| 17 |
+
le = LabelEncoder()
|
| 18 |
crops = [
|
| 19 |
'ਚੌਲ',
|
| 20 |
'ਮੱਕੀ',
|