Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_weather_forecast(Province,Activity,Purpose,Year,Month,Date):
|
|
| 36 |
place = place_df[place_df['Purpose']==Purpose]
|
| 37 |
place = place[place['IsIndoor']==IsIndoor]
|
| 38 |
place = place[place['Province']==Province]
|
| 39 |
-
if WeatherCon
|
| 40 |
place = place[place['WeatherCon']==WeatherCon]
|
| 41 |
place = place['LocationName']
|
| 42 |
#random = random.randrange(len(place))
|
|
|
|
| 36 |
place = place_df[place_df['Purpose']==Purpose]
|
| 37 |
place = place[place['IsIndoor']==IsIndoor]
|
| 38 |
place = place[place['Province']==Province]
|
| 39 |
+
if WeatherCon != 'SUNNY':
|
| 40 |
place = place[place['WeatherCon']==WeatherCon]
|
| 41 |
place = place['LocationName']
|
| 42 |
#random = random.randrange(len(place))
|