Spaces:
Running
Running
wzkariampuzha
commited on
Commit
·
37c06c3
1
Parent(s):
12d1c26
Update extract_abs.py
Browse files- extract_abs.py +1 -0
extract_abs.py
CHANGED
@@ -307,6 +307,7 @@ def streamlit_extraction(search_term:Union[int,str], maxResults:int, filtering:s
|
|
307 |
pmid_abs, sankey_initial = classify_abs.streamlit_getAbs(search_term_list, maxResults, filtering)
|
308 |
if len(pmid_abs)==0:
|
309 |
st.error('No results were gathered. Enter a new search term.')
|
|
|
310 |
else:
|
311 |
found, relevant = sankey_initial
|
312 |
epidemiologic = 0
|
|
|
307 |
pmid_abs, sankey_initial = classify_abs.streamlit_getAbs(search_term_list, maxResults, filtering)
|
308 |
if len(pmid_abs)==0:
|
309 |
st.error('No results were gathered. Enter a new search term.')
|
310 |
+
return None, None, None
|
311 |
else:
|
312 |
found, relevant = sankey_initial
|
313 |
epidemiologic = 0
|