Spaces:
Runtime error
Runtime error
Download load_css.py from dhhien/KVL_converter: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/spaces/dhhien/KVL_converter/resolve/main/load_css.py
- Command line
-
hf download hf://spaces/dhhien/KVL_converter/load_css.py
-
curl -L -o load_css.py https://huggingface.co/spaces/dhhien/KVL_converter/resolve/main/load_css.py
248 Bytes
| # https://discuss.streamlit.io/t/colored-boxes-around-sections-of-a-sentence/3201/2 | |
| import streamlit as st | |
| def local_css(file_name): | |
| with open(file_name) as f: | |
| st.markdown('<style>{}</style>'.format(f.read()), unsafe_allow_html=True) | |