Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,9 @@ def load_lottie_url(url: str):
|
|
9 |
return None
|
10 |
return r.json()
|
11 |
|
|
|
|
|
|
|
12 |
|
13 |
lottie_animation_1 = "https://assets4.lottiefiles.com/packages/lf20_w9wl8mlm.json"
|
14 |
lottie_anime_json = load_lottie_url(lottie_animation_1)
|
@@ -27,3 +30,13 @@ st.markdown("### Animate with JSON, SVG, Adobe XD, Figma, and deploy to web, mob
|
|
27 |
url1="https://assets2.lottiefiles.com/packages/lf20_9p4kck7t.json"
|
28 |
anim1=load_lottie_url(url1)
|
29 |
st_lottie(anim1,key="anim1")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
return None
|
10 |
return r.json()
|
11 |
|
12 |
+
def ShowAnimation(name, URL):
|
13 |
+
anim=load_lottie_url(URL)
|
14 |
+
st_lottie(anim, key = name)
|
15 |
|
16 |
lottie_animation_1 = "https://assets4.lottiefiles.com/packages/lf20_w9wl8mlm.json"
|
17 |
lottie_anime_json = load_lottie_url(lottie_animation_1)
|
|
|
30 |
url1="https://assets2.lottiefiles.com/packages/lf20_9p4kck7t.json"
|
31 |
anim1=load_lottie_url(url1)
|
32 |
st_lottie(anim1,key="anim1")
|
33 |
+
|
34 |
+
ShowAnimation("Graph","https://assets6.lottiefiles.com/packages/lf20_4gqhiayj.json")
|
35 |
+
ShowAnimation("PhoneBot","https://assets9.lottiefiles.com/packages/lf20_zrqthn6o.json")
|
36 |
+
ShowAnimation("SupportBot","https://assets5.lottiefiles.com/private_files/lf30_cmd8kh2q.json")
|
37 |
+
ShowAnimation("ChatBot","https://assets8.lottiefiles.com/packages/lf20_j1oeaifz.json")
|
38 |
+
ShowAnimation("IntelligentMachine","https://assets8.lottiefiles.com/packages/lf20_edouagsj.json")
|
39 |
+
ShowAnimation("GearAI","https://assets10.lottiefiles.com/packages/lf20_3jkp7dqt.json")
|
40 |
+
ShowAnimation("ContextGraph","https://assets10.lottiefiles.com/private_files/lf30_vwC61X.json")
|
41 |
+
ShowAnimation("Yggdrasil","https://assets4.lottiefiles.com/packages/lf20_8q1bhU.json")
|
42 |
+
ShowAnimation("Studying","https://assets9.lottiefiles.com/packages/lf20_6ft9bypa.json")
|