sehaj13 commited on
Commit
8c61977
·
verified ·
1 Parent(s): fa9ee6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
  'ਮੱਕੀ',