Spaces:
Runtime error
Runtime error
Download utils.py from eleeleai/ircdl_data: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/eleeleai/ircdl_data/resolve/main/utils.py
- Command line
-
hf download hf://spaces/eleeleai/ircdl_data/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/eleeleai/ircdl_data/resolve/main/utils.py
257 Bytes
| import streamlit as st | |
| def local_css(file_name): | |
| with open(file_name) as f: | |
| st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True) | |
| def remote_css(url): | |
| st.markdown(f'<link href="{url}" rel="stylesheet">', unsafe_allow_html=True) |