Spaces:
Sleeping
Sleeping
wzkariampuzha
commited on
Commit
•
d6acdb7
1
Parent(s):
2126c7c
Update app.py
Browse files
app.py
CHANGED
@@ -95,14 +95,8 @@ def epi_sankey(sankey_data,disease_or_gard_id):
|
|
95 |
#### BEGIN APP ####
|
96 |
|
97 |
with st.spinner('Loading Epidemiology Models and Dependencies...'):
|
98 |
-
classify_model_vars, NER_pipeline, entity_classes, GARD_dict, max_length = load_models_experimental()
|
99 |
-
|
100 |
-
#Load spaCy models which cannot be cached due to hash function error
|
101 |
-
#nlp = spacy.load('en_core_web_lg')
|
102 |
-
#nlpSci = spacy.load("en_ner_bc5cdr_md")
|
103 |
-
#nlpSci2 = spacy.load('en_ner_bionlp13cg_md')
|
104 |
-
#classify_model_vars = (nlp, nlpSci, nlpSci2, classify_model, classify_tokenizer)
|
105 |
-
|
106 |
loaded = st.success('All Models and Dependencies Loaded!')
|
107 |
|
108 |
st.markdown("Input a rare disease term or GARD ID.")
|
|
|
95 |
#### BEGIN APP ####
|
96 |
|
97 |
with st.spinner('Loading Epidemiology Models and Dependencies...'):
|
98 |
+
#classify_model_vars, NER_pipeline, entity_classes, GARD_dict, max_length = load_models_experimental()
|
99 |
+
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
loaded = st.success('All Models and Dependencies Loaded!')
|
101 |
|
102 |
st.markdown("Input a rare disease term or GARD ID.")
|