Yasaman commited on
Commit
debb5dc
1 Parent(s): 8ac19e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def air_quality(city):
22
  weather_data = get_weather_df([get_weather_data((datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
23
  weather_df = weather_df.append(weather_data)
24
 
25
- quality_data= get_air_quality_df([get_air_quality_data(city,(datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
26
  air_quality_df=air_quality_df.append(quality_data)
27
  print(air_quality_df)
28
  print(weather_df)
 
22
  weather_data = get_weather_df([get_weather_data((datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
23
  weather_df = weather_df.append(weather_data)
24
 
25
+ quality_data= get_air_quality_df([get_air_quality_data(city)])
26
  air_quality_df=air_quality_df.append(quality_data)
27
  print(air_quality_df)
28
  print(weather_df)