Spaces:
Sleeping
Sleeping
wzkariampuzha
commited on
Commit
•
44803cb
1
Parent(s):
bda3587
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ st.markdown('''<img src="https://huggingface.co/spaces/ncats/EpiPipeline4GARD/re
|
|
16 |
#st.markdown("![National Center for Advancing Translational Sciences (NCATS) Logo](https://huggingface.co/spaces/ncats/EpiPipeline4GARD/resolve/main/NCATS_logo.png")
|
17 |
#st.markdown('''<img src="https://huggingface.co/spaces/ncats/EpiPipeline4GARD/raw/main/NCATS_logo.svg" alt="National Center for Advancing Translational Sciences Logo" width="800" height="300">''',unsafe_allow_html=True)
|
18 |
st.title("Epidemiology Extraction Pipeline for Rare Diseases")
|
19 |
-
st.subheader("National Center for Advancing Translational Sciences (NIH/NCATS)")
|
20 |
|
21 |
#### CHANGE SIDEBAR WIDTH ###
|
22 |
st.markdown(
|
@@ -72,7 +72,8 @@ with st.spinner('Loading Epidemiology Models and Dependencies...'):
|
|
72 |
#classify_model_vars = (nlp, nlpSci, nlpSci2, classify_model, classify_tokenizer)
|
73 |
st.success('All Models and Dependencies Loaded!')
|
74 |
|
75 |
-
disease_or_gard_id = st.text_input("Input a rare disease term or GARD ID
|
|
|
76 |
|
77 |
if disease_or_gard_id:
|
78 |
df = extract_abs.streamlit_extraction(disease_or_gard_id, max_results, filtering,
|
|
|
16 |
#st.markdown("![National Center for Advancing Translational Sciences (NCATS) Logo](https://huggingface.co/spaces/ncats/EpiPipeline4GARD/resolve/main/NCATS_logo.png")
|
17 |
#st.markdown('''<img src="https://huggingface.co/spaces/ncats/EpiPipeline4GARD/raw/main/NCATS_logo.svg" alt="National Center for Advancing Translational Sciences Logo" width="800" height="300">''',unsafe_allow_html=True)
|
18 |
st.title("Epidemiology Extraction Pipeline for Rare Diseases")
|
19 |
+
#st.subheader("National Center for Advancing Translational Sciences (NIH/NCATS)")
|
20 |
|
21 |
#### CHANGE SIDEBAR WIDTH ###
|
22 |
st.markdown(
|
|
|
72 |
#classify_model_vars = (nlp, nlpSci, nlpSci2, classify_model, classify_tokenizer)
|
73 |
st.success('All Models and Dependencies Loaded!')
|
74 |
|
75 |
+
disease_or_gard_id = st.text_input("Input a rare disease term or GARD ID such as Fellman syndrome, Classic Homocystinuria, phenylketonuria, GARD:000941")
|
76 |
+
st.markdown("A full list of rare diseases tracked by GARD can be found [here](https://rarediseases.info.nih.gov/diseases/browse-by-first-letter)")
|
77 |
|
78 |
if disease_or_gard_id:
|
79 |
df = extract_abs.streamlit_extraction(disease_or_gard_id, max_results, filtering,
|