rafat0421 commited on
Commit
5f7d48d
·
1 Parent(s): ffc5a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,16 +25,16 @@ st.write(18 * "-")
25
  fancy_header('\n Getting data from Feature Store...')
26
 
27
  today = datetime.date.today()
28
- city = "vienna"
29
  weekly_data = get_weather_data_weekly(city, today)
30
 
31
 
32
  st.write(27 * "-")
33
 
34
  mr = project.get_model_registry()
35
- model = mr.get_best_model("aqi_model", "rmse", "min")
36
  model_dir = model.download()
37
- model = joblib.load(model_dir + "/aqi_model.pkl")
38
 
39
  st.write("-" * 36)
40
 
 
25
  fancy_header('\n Getting data from Feature Store...')
26
 
27
  today = datetime.date.today()
28
+ city = "helsinki"
29
  weekly_data = get_weather_data_weekly(city, today)
30
 
31
 
32
  st.write(27 * "-")
33
 
34
  mr = project.get_model_registry()
35
+ model = mr.get_best_model("gradient_boost_model", "rmse", "min")
36
  model_dir = model.download()
37
+ model = joblib.load(model_dir + "/gradient_boost_model.pkl")
38
 
39
  st.write("-" * 36)
40