typo-detector / libs /utils.py
m3hrdadfi's picture
Create sync_streamlit_to_space.yml
5a1441b
raw
history blame contribute delete
265 Bytes
import streamlit as st
def local_css(css_path):
with open(css_path) as f:
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
def remote_css(css_url):
st.markdown(f'<link href="{css_url}" rel="stylesheet">', unsafe_allow_html=True)