Esmaeilkiani commited on
Commit
d4ca3a4
1 Parent(s): 56afa45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ model = joblib.load('updated_model.pkl') # Replace 'updated_model.pkl' with you
16
 
17
  # Load farm data
18
  farm_data = pd.read_csv('Farm_NDRE_TimeSeries.csv') # Replace 'Farm_NDRE_TimeSeries.csv' with your actual data file
19
- farm_names = farm_data['Farm_Name'].tolist()
20
 
21
  # Function to calculate NDRE
22
  def calculate_ndre(coordinates, start_date, end_date):
 
16
 
17
  # Load farm data
18
  farm_data = pd.read_csv('Farm_NDRE_TimeSeries.csv') # Replace 'Farm_NDRE_TimeSeries.csv' with your actual data file
19
+ farm_names = farm_data['Farm'].tolist()
20
 
21
  # Function to calculate NDRE
22
  def calculate_ndre(coordinates, start_date, end_date):