matheuscvp commited on
Commit
3c882df
·
1 Parent(s): a8324df
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,10 +22,10 @@ with open("model.pkl", "rb") as f:
22
  model = pickle.load(f)
23
 
24
 
25
- def predict(wind, max_temp, min_temp, precipitation):
26
  f_wind = float(wind)
27
- f_max_temp = float(max_temp)
28
- f_min_temp = float(min_temp)
29
  f_precipitation = float(precipitation)
30
 
31
  default = [
 
22
  model = pickle.load(f)
23
 
24
 
25
+ def predict(wind, temp_max, temp_min, precipitation):
26
  f_wind = float(wind)
27
+ f_max_temp = float(temp_max)
28
+ f_min_temp = float(temp_min)
29
  f_precipitation = float(precipitation)
30
 
31
  default = [