Spaces:
Runtime error
Runtime error
matheuscvp
commited on
Commit
·
3c882df
1
Parent(s):
a8324df
update
Browse files
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,
|
26 |
f_wind = float(wind)
|
27 |
-
f_max_temp = float(
|
28 |
-
f_min_temp = float(
|
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 = [
|