Spaces:
Running
Running
wzkariampuzha
commited on
Commit
·
d99ffe1
1
Parent(s):
33a096f
Update app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,7 @@ def load_models():
|
|
61 |
GARD_dict, max_length = extract_abs.load_GARD_diseases()
|
62 |
return classify_tokenizer, classify_model, NER_pipeline, entity_classes, GARD_dict, max_length
|
63 |
|
|
|
64 |
def epi_sankey(sankey_data):
|
65 |
gathered, relevant, epidemiologic = sankey_data
|
66 |
|
|
|
61 |
GARD_dict, max_length = extract_abs.load_GARD_diseases()
|
62 |
return classify_tokenizer, classify_model, NER_pipeline, entity_classes, GARD_dict, max_length
|
63 |
|
64 |
+
@st.experimental_memo
|
65 |
def epi_sankey(sankey_data):
|
66 |
gathered, relevant, epidemiologic = sankey_data
|
67 |
|