Open andfanilo opened 2 years ago
I think it's because default URL in code is start with /media/....
, when it read by browser, it will get wrong URL.
Any scripts in Streamlit cloud are in subpath of domain but in hosted are not.
I believe if we can change /media/...
to media/...
it's will be solved this problem.
this line of code you have to investigate streamlit_drawable_canvas/frontend/src/DrawableCanvas.tsx#L116
@andfanilo thanks for looking into it. Just a question, though: In my issue, I'm not using any URLs. My image is basically a variable created within the script with no possible path-issues attached.
Any people stumbling on this deploying to Streamlit Cloud, please downgrade to 0.8.0 in the meantime
Probably some odd referring stuff?
should expect: