Spaces:
Runtime error
Runtime error
Download tools/utilities.py from joemaatouk/machine-learning-ui: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/spaces/joemaatouk/machine-learning-ui/resolve/main/tools/utilities.py
- Command line
-
hf download hf://spaces/joemaatouk/machine-learning-ui/tools/utilities.py
-
curl -L -o utilities.py https://huggingface.co/spaces/joemaatouk/machine-learning-ui/resolve/main/tools/utilities.py
430 Bytes
| import streamlit as st | |
| def load_css(): | |
| with open("tools/style.css") as f: | |
| st.markdown('<style>{}</style>'.format(f.read()), unsafe_allow_html=True) | |
| st.markdown( | |
| '<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">', | |
| unsafe_allow_html=True) |