abdulsamod commited on
Commit
50b647c
1 Parent(s): 5092f01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import numpy as np
5
 
6
  model = pickle.load(open(model.pkl, 'rb'))
7
 
8
- def crop_yield(Planted,Size_of_land_(Hectare), Bags, Soil_Type, Type_of_Seed, Color_of_Seeds):
9
- prediction = model.predict([[Planted,Size_of_land_(Hectare), Bags, Soil_Type, Type_of_Seed,Color_of_Seeds]])
10
  return prediction
11
 
12
  #create input and output objects
 
5
 
6
  model = pickle.load(open(model.pkl, 'rb'))
7
 
8
+ def crop_yield(Planted,Size_of_land, Bags, Soil_Type, Type_of_Seed, Color_of_Seeds):
9
+ prediction = model.predict([[Planted,Size_of_land, Bags, Soil_Type, Type_of_Seed,Color_of_Seeds]])
10
  return prediction
11
 
12
  #create input and output objects