-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
st_canvas does not display background image in multipage streamlit app #93
Comments
I have the exact same problem on my project ! |
Coming back on it, I tested with version 0.9.0 and background images can be displayed on Streamlit subpages. Tracing the commit history, it seems that #85 introduces this bug. |
@julienperichon I will definitely give that a try and feed you back. |
@julienperichon Tried it out and it is working indeed. |
@andfanilo and @julienperichon Now another issue pops out: |
For me version 0.9.0 doesn't show background as well |
Hey, |
Hey, |
Hi, same issue, not multipage app, just single page |
Same here, not working on multipage apps. the path to the image is /media/... and it's probably not the same one for the canvas under /pages folder |
Hello
I am building a multipage streamlit app and in one of the pages I want to use the awesome streamlit drawable canvas.
Tracing my issue, I found that canvas does not show the background image in case the canvas is called in one of the pages of the app. However, if I use the same code in the main page of the app, the background image is displayed.
Help would be appreciated.
My code snippet is:
My setup is:
Windows 10
Google chrome
python 3.8
streamlit 1.12.2
streamlit-drawable-canvas 0.9.2
The text was updated successfully, but these errors were encountered: