wzkariampuzha commited on
Commit
27bf394
1 Parent(s): d501651

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -66,8 +66,9 @@ def convert_df(df):
66
 
67
  #### SANKEY FUNCTION ####
68
 
69
- @st.cache(allow_output_mutation=True)
70
- def epi_sankey(sankey_data,disease_or_gard_id):
 
71
  gathered, relevant, epidemiologic = sankey_data
72
 
73
  fig = go.Figure(data=[go.Sankey(
 
66
 
67
  #### SANKEY FUNCTION ####
68
 
69
+ #@st.cache(allow_output_mutation=True)
70
+ @st.experimental_singleton()
71
+ def epi_sankey(sankey_data, disease_or_gard_id):
72
  gathered, relevant, epidemiologic = sankey_data
73
 
74
  fig = go.Figure(data=[go.Sankey(