You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says that the image parameter is optional, but if I don't pass it, I get warning messages:
2024-01-03 21:56:32.558 ComponentRequestHandler: GET /Users/preining/.pyenv/versions/3.10.13/envs/ffe-eval-dash2/lib/python3.10/site-packages/streamlit_card/frontend/build/null read error
Traceback (most recent call last):
File "/Users/preining/.pyenv/versions/3.10.13/envs/ffe-eval-dash2/lib/python3.10/site-packages/streamlit/web/server/component_request_handler.py", line 55, in get
with open(abspath, "rb") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/preining/.pyenv/versions/3.10.13/envs/ffe-eval-dash2/lib/python3.10/site-packages/streamlit_card/frontend/build/null'
In fact, what I would like to see is that one can just give a color for the background, and no image is needed.
Is this possible?
Thanks for providing this widget!
The text was updated successfully, but these errors were encountered:
I think a simple (- though don't ask me for javascript code) check for whether the image parameter is null, and then not adding the url stuff in the div should work.
Although not at all a JS guy, I might look into it.
Hey @norbusan CC @gamcoh - I noticed the same error yesterday when omitting a background image - I've attempted to address this part of the issue here: #27.
The documentation says that the image parameter is optional, but if I don't pass it, I get warning messages:
In fact, what I would like to see is that one can just give a color for the background, and no image is needed.
Is this possible?
Thanks for providing this widget!
The text was updated successfully, but these errors were encountered: