From fd6963e19ba72a43f1b29ae83a967ba57a616129 Mon Sep 17 00:00:00 2001 From: Russell Jarvis <russelljarvis@protonmail.com> Date: Sat, 25 Dec 2021 12:36:14 +1100 Subject: [PATCH] update app --- app.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index 73edbf3..cc0dc9e 100644 --- a/app.py +++ b/app.py @@ -163,12 +163,12 @@ def check_cache(author_name: str, verbose=0): scraped_labels, author_score = frame_to_lists(ar) - if len(db.keys()) < 11: - db[author_name] = { - "ar": ar, - "scraped_labels": scraped_labels, - "author_score": author_score, - } + #if len(db.keys()) < 11: + # db[author_name] = { + # "ar": ar, + # "scraped_labels": scraped_labels, + # "author_score": author_score, + # } except: aliases = semantic_scholar_alias(author_name) st.warning("Name as typed not found in semantic scholar API, so checking dissemin...") -- GitLab