Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,11 @@ def ShowAnimation(name, URL):
|
|
14 |
|
15 |
st.markdown('# Animations: https://lottiefiles.com/recent')
|
16 |
st.markdown("# Animate with JSON, SVG, Adobe XD, Figma, and deploy to web, mobile as tiny animation files ")
|
|
|
|
|
|
|
|
|
|
|
17 |
ShowAnimation("Badge1","https://assets5.lottiefiles.com/packages/lf20_wtohqzml.json")
|
18 |
ShowAnimation("Badge2","https://assets5.lottiefiles.com/packages/lf20_i4zw2ddg.json")
|
19 |
ShowAnimation("Badge3","https://assets5.lottiefiles.com/private_files/lf30_jfhmdmk5.json")
|
|
|
14 |
|
15 |
st.markdown('# Animations: https://lottiefiles.com/recent')
|
16 |
st.markdown("# Animate with JSON, SVG, Adobe XD, Figma, and deploy to web, mobile as tiny animation files ")
|
17 |
+
|
18 |
+
# to Use Lottie in HTML (gradio or HTML5) use the code below in HTML
|
19 |
+
# <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
20 |
+
# <lottie-player src="<URL HERE>" background="transparent" speed="1" style="width: 300px; height: 300px;" loop controls autoplay></lottie-player>
|
21 |
+
|
22 |
ShowAnimation("Badge1","https://assets5.lottiefiles.com/packages/lf20_wtohqzml.json")
|
23 |
ShowAnimation("Badge2","https://assets5.lottiefiles.com/packages/lf20_i4zw2ddg.json")
|
24 |
ShowAnimation("Badge3","https://assets5.lottiefiles.com/private_files/lf30_jfhmdmk5.json")
|