BhalML commited on
Commit
4c72f24
1 Parent(s): 396c820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def predict(Windy:bool=True
14
  ):
15
  prediction_array = no.array(Windy,Outlook_Rainy,Outlook_Sunny,Temp_Hot,Temp_Mild,Humidity_Normal)
16
  play_golf = dct_playgolf.Predict(prediction_array)
17
- if play_golf = 'Yes':
18
  return f'Weather is good for playing golf'
19
  else:
20
  return f'Weather is horrible for playing golf'
 
14
  ):
15
  prediction_array = no.array(Windy,Outlook_Rainy,Outlook_Sunny,Temp_Hot,Temp_Mild,Humidity_Normal)
16
  play_golf = dct_playgolf.Predict(prediction_array)
17
+ if play_golf := 'Yes':
18
  return f'Weather is good for playing golf'
19
  else:
20
  return f'Weather is horrible for playing golf'