streamlit-lottie
streamlit-lottie copied to clipboard
Can we load locally?
I tried downloading the .json
file from lottie and putting it into st.lottie("path/to/json")
but it does nto work.
another major question is whether can we add text to the spinner?
try this bro~
with open("Animation - 1697017813652.json", 'r') as f:
data = json.load(f)
st_lottie(data, width=250)