Skip to content

Commit

Permalink
Hotfix - add button for Aaron
Browse files Browse the repository at this point in the history
  • Loading branch information
jvivian committed Jun 10, 2024
1 parent d5d3816 commit 72421c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions covid19_drdfm/streamlit/pages/0_Dynamic_Factor_Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def run_model(ad, out_dir, batch, global_multiplier) -> ModelRunner:
ad = data.ad
global_multiplier, out_dir = additional_params()
batch = None if ad.obs.empty else ad.obs.columns[0]

if not st.button("Run Model"):
st.stop()

dfm = run_model(ad, out_dir, batch, global_multiplier)
st.balloons()

Expand Down

0 comments on commit 72421c2

Please sign in to comment.