Spaces:
Sleeping
Sleeping
wzkariampuzha
commited on
Commit
•
1433475
1
Parent(s):
b102419
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,6 @@ def load_models():
|
|
62 |
|
63 |
with st.spinner('Loading Epidemiology Models and Dependencies...'):
|
64 |
classify_model_vars, NER_pipeline, entity_classes, GARD_dict, max_length = load_models_experimental()
|
65 |
-
|
66 |
#classify_tokenizer, classify_model, NER_pipeline, entity_classes, GARD_dict, max_length = load_models()
|
67 |
#Load spaCy models which cannot be cached due to hash function error
|
68 |
#nlp = spacy.load('en_core_web_lg')
|
@@ -79,7 +78,6 @@ if disease_or_gard_id:
|
|
79 |
extract_diseases,GARD_dict, max_length,
|
80 |
classify_model_vars)
|
81 |
st.dataframe(df)
|
82 |
-
st.balloons()
|
83 |
#st.dataframe(data=None, width=None, height=None)
|
84 |
|
85 |
# st.code(body, language="python")
|
|
|
62 |
|
63 |
with st.spinner('Loading Epidemiology Models and Dependencies...'):
|
64 |
classify_model_vars, NER_pipeline, entity_classes, GARD_dict, max_length = load_models_experimental()
|
|
|
65 |
#classify_tokenizer, classify_model, NER_pipeline, entity_classes, GARD_dict, max_length = load_models()
|
66 |
#Load spaCy models which cannot be cached due to hash function error
|
67 |
#nlp = spacy.load('en_core_web_lg')
|
|
|
78 |
extract_diseases,GARD_dict, max_length,
|
79 |
classify_model_vars)
|
80 |
st.dataframe(df)
|
|
|
81 |
#st.dataframe(data=None, width=None, height=None)
|
82 |
|
83 |
# st.code(body, language="python")
|