Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrodes committed Nov 26, 2024
1 parent 38e48ca commit 8b21df3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions apps/wizard/app_pages/chart_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,9 @@ def add_icons_to_tabs(tab_name):
# Create the default output folder if it doesn't exist.
st.session_state.chart_animation_images_folder.mkdir(parents=True)
image_paths = [image for image in st.session_state.chart_animation_images_folder.iterdir() if image.suffix == ".png"]
set_states(
{
"chart_animation_gif_file": DOWNLOADS_DIR / f"{slug}.gif",
"chart_animation_image_paths": image_paths,
"chart_animation_images_exist": len(image_paths) > 0,
}
)
st.session_state.chart_animation_gif_file = DOWNLOADS_DIR / f"{slug}.gif"
st.session_state.chart_animation_image_paths = image_paths
st.session_state.chart_animation_images_exist = len(image_paths) > 0

# Button
if st.button(
Expand Down

0 comments on commit 8b21df3

Please sign in to comment.