Skip to content
Snippets Groups Projects
Commit fd6963e1 authored by Russell Jarvis's avatar Russell Jarvis :speech_balloon:
Browse files

update app

parent 1eb3ed16
No related branches found
No related tags found
No related merge requests found
Pipeline #1601 failed with stages
in 4 minutes and 58 seconds
...@@ -163,12 +163,12 @@ def check_cache(author_name: str, verbose=0): ...@@ -163,12 +163,12 @@ def check_cache(author_name: str, verbose=0):
scraped_labels, author_score = frame_to_lists(ar) scraped_labels, author_score = frame_to_lists(ar)
if len(db.keys()) < 11: #if len(db.keys()) < 11:
db[author_name] = { # db[author_name] = {
"ar": ar, # "ar": ar,
"scraped_labels": scraped_labels, # "scraped_labels": scraped_labels,
"author_score": author_score, # "author_score": author_score,
} # }
except: except:
aliases = semantic_scholar_alias(author_name) aliases = semantic_scholar_alias(author_name)
st.warning("Name as typed not found in semantic scholar API, so checking dissemin...") st.warning("Name as typed not found in semantic scholar API, so checking dissemin...")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment