Skip to content

Commit 3a2c5ec

Browse files
committed
feat(home): add info box explaining st.spinner() absence with stlite
1 parent af4cbb8 commit 3a2c5ec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Home.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@
2424
"""
2525
)
2626

27+
st.divider()
28+
st.info("""
29+
The apps use `st.spinner()` to show a spinning icon when the model is running,
30+
but this does not work with `stlite`. Hence, it may appear like nothing is
31+
happening, when the model is actually running behind the scenes (once you
32+
click "simulate"). This is mainly relevant to the stroke model which takes a
33+
little longer to run, but you can speed it up by reducing the number of
34+
replications.
35+
""", icon="ℹ️")
36+
2737
st.divider()
2838
st.markdown(
2939
"""

0 commit comments

Comments
 (0)