From 00c4ceff73940fc54ec0a8bbde9dc3491bc28f01 Mon Sep 17 00:00:00 2001
From: Russell Jarvis <russelljarvis@protonmail.com>
Date: Fri, 10 Dec 2021 14:43:33 +1100
Subject: [PATCH] update for web app
---
app.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app.py b/app.py
index 93f2a10..0000950 100644
--- a/app.py
+++ b/app.py
@@ -278,7 +278,6 @@ def main():
ar, author_name, scraped_labels, author_score, art_df
)
- df_author = df_author[(df_author["Reading_Level"] <55)]
genre = []
@@ -336,6 +335,8 @@ def main():
##
# ref_choice = "ART Corpus"
#ref_choice = "Decline"
+ df_author = df_author[(df_author["Reading_Level"] <55)]
+
df_concat_art = pd.concat([art_df, df_author])
df_concat_art = pd.concat([rd_df, df_concat_art])
--
GitLab