Spaces:
Sleeping
Sleeping
wzkariampuzha
commited on
Commit
•
ff3ac92
1
Parent(s):
9d85d67
Update classify_abs.py
Browse files- classify_abs.py +2 -2
classify_abs.py
CHANGED
@@ -278,7 +278,7 @@ def search_getAbs(searchterm_list:Union[List[str],List[int],str], maxResults:int
|
|
278 |
return pmid_abs
|
279 |
|
280 |
#This is a streamlit version of search_getAbs. Refer to search_getAbs for documentation
|
281 |
-
def
|
282 |
pmids = set()
|
283 |
|
284 |
pmid_abs = {}
|
@@ -290,7 +290,7 @@ def streamlist_getAbs(searchterm_list:Union[List[str],List[int],str], maxResults
|
|
290 |
searchterm_list = list(searchterm_list)
|
291 |
#maxResults is multiplied by a little bit because sometimes the results returned is more than maxResults
|
292 |
percent_by_step = 1/(maxResults*1.25)
|
293 |
-
PMIDs_bar = st.progress(0)
|
294 |
for dz in searchterm_list:
|
295 |
term = ''
|
296 |
dz_words = dz.split()
|
|
|
278 |
return pmid_abs
|
279 |
|
280 |
#This is a streamlit version of search_getAbs. Refer to search_getAbs for documentation
|
281 |
+
def streamlit_getAbs(searchterm_list:Union[List[str],List[int],str], maxResults:int, filtering:str) -> Dict[str,str]:
|
282 |
pmids = set()
|
283 |
|
284 |
pmid_abs = {}
|
|
|
290 |
searchterm_list = list(searchterm_list)
|
291 |
#maxResults is multiplied by a little bit because sometimes the results returned is more than maxResults
|
292 |
percent_by_step = 1/(maxResults*1.25)
|
293 |
+
PMIDs_bar = st.progress(0)
|
294 |
for dz in searchterm_list:
|
295 |
term = ''
|
296 |
dz_words = dz.split()
|