Spaces:
Runtime error
Runtime error
Commit
·
6e19028
1
Parent(s):
f23cf26
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ project = hopsworks.login()
|
|
10 |
fs = project.get_feature_store()
|
11 |
dataset_api = project.get_dataset_api()
|
12 |
|
13 |
-
most_positive_fg = fs.get_feature_group(name="articles_most_positive", version=
|
14 |
most_positive_df = most_positive_fg.read()
|
15 |
#most_positive_df = most_positive_df[most_positive_df['pubdate'] == today]
|
16 |
most_positive_article = most_positive_df.iloc[-1] # get most recent most positive article (in case today's failed)
|
|
|
10 |
fs = project.get_feature_store()
|
11 |
dataset_api = project.get_dataset_api()
|
12 |
|
13 |
+
most_positive_fg = fs.get_feature_group(name="articles_most_positive", version=3)
|
14 |
most_positive_df = most_positive_fg.read()
|
15 |
#most_positive_df = most_positive_df[most_positive_df['pubdate'] == today]
|
16 |
most_positive_article = most_positive_df.iloc[-1] # get most recent most positive article (in case today's failed)
|