CsanadT commited on
Commit
388226f
1 Parent(s): 1ae03dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -21,17 +21,12 @@ st.write(36 * "-")
21
  fancy_header('\n Connecting to Hopsworks Feature Store...')
22
 
23
  project = hopsworks.login()
24
- fs = project.get_feature_store()
25
- feature_view = fs.get_feature_view(
26
- name = 'air_quality_fv',
27
- version = 1
28
- )
29
 
30
  st.write("Successfully connected!✔️")
31
  progress_bar.progress(20)
32
 
33
  st.write(36 * "-")
34
- fancy_header('\n Getting data from Feature Store...')
35
 
36
  today = datetime.date.today()
37
  city = "vienna"
@@ -39,13 +34,6 @@ weekly_data = get_weather_data_weekly(city, today)
39
 
40
  progress_bar.progress(50)
41
 
42
- #latest_date_unix = str(X.date.values[0])[:10]
43
- #latest_date = time.ctime(int(latest_date_unix))
44
-
45
- #st.write(f"Data for {latest_date}")
46
-
47
- #data_to_display = decode_features(X, feature_view=feature_view)
48
-
49
  progress_bar.progress(60)
50
 
51
  st.write(36 * "-")
 
21
  fancy_header('\n Connecting to Hopsworks Feature Store...')
22
 
23
  project = hopsworks.login()
 
 
 
 
 
24
 
25
  st.write("Successfully connected!✔️")
26
  progress_bar.progress(20)
27
 
28
  st.write(36 * "-")
29
+ fancy_header('\n Getting data from thee weather API...')
30
 
31
  today = datetime.date.today()
32
  city = "vienna"
 
34
 
35
  progress_bar.progress(50)
36
 
 
 
 
 
 
 
 
37
  progress_bar.progress(60)
38
 
39
  st.write(36 * "-")