Hi, my following code properly displays the background image on local server but not in the deployed app. My image is a tiff stack and I am trying to display one of the stack images as background.
image_draw = Image.fromarray(image[0])
canvas_result = st_canvas(
fill_color="rgba(255, 165, 0, 0.2)",
stroke_width=2,
stroke_color="rgba(255, 0, 0, 0.7)",
background_image=image_draw,
update_streamlit=True,
display_toolbar=True,
height=canvas_height,
width=canvas_width,
drawing_mode="rect",
key="canvas",
)
Any help would be appreciated.