Skip to content

Commit

Permalink
Merge pull request #34 from pythonhealthdatascience/dev
Browse files Browse the repository at this point in the history
fix: image auto resize by streamlit
  • Loading branch information
TomMonks committed Jun 20, 2024
2 parents edde3de + ff15923 commit 7b53a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# the treatment process diagram
st.markdown(overview_2)
with st.expander("View treatment process", expanded=False):
st.image(PROCESS_IMG, width=800)
st.image(PROCESS_IMG, width=None)
st.markdown(INFO_2)

# Display info on using model to explore different scenarios
Expand Down
2 changes: 1 addition & 1 deletion pages/0_🎱_Interactive_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
st.markdown(INFO_1)
with st.expander("Model recap", expanded=False):
st.markdown(INFO_2)
st.image(PROCESS_IMG, width=800)
st.image(PROCESS_IMG, width=None)

# Suggestion to vary parameters
st.markdown(INFO_3)
Expand Down

0 comments on commit 7b53a54

Please sign in to comment.