Spaces:
Running
Running
Esmaeilkiani
commited on
Commit
•
d4ca3a4
1
Parent(s):
56afa45
Update app.py
Browse files
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['
|
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):
|