Anshini commited on
Commit
d7d62b2
·
verified ·
1 Parent(s): 22c13cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -46,7 +46,20 @@ st.markdown("""
46
  </style>
47
  """, unsafe_allow_html=True)
48
  # st.set_page_config(page_title="Innomatics Data Science Chat Bot", layout="centered")
 
 
49
 
 
 
 
 
 
 
 
 
 
 
 
50
  # Glass Panel Wrapper
51
  with st.container():
52
  # st.markdown('<div class="glass-panel">', unsafe_allow_html=True)
 
46
  </style>
47
  """, unsafe_allow_html=True)
48
  # st.set_page_config(page_title="Innomatics Data Science Chat Bot", layout="centered")
49
+ from streamlit_lottie import st_lottie
50
+ import requests
51
 
52
+ # Load Lottie animation from URL
53
+ def load_lottie_url(url):
54
+ r = requests.get(url)
55
+ if r.status_code != 200:
56
+ return None
57
+ return r.json()
58
+
59
+ # lottie_url = "https://lottie.host/1f0a9697-c698-4c89-8c10-3d505a5c99ca/kHiz6bHsZD.json"
60
+ lottie_url = "https://lottie.host/4c6e3055-9d9c-4de7-9c36-9e74a6e1b06f/jBvT9UGWvD.json"
61
+
62
+ lottie_animation = load_lottie_url(lottie_url)
63
  # Glass Panel Wrapper
64
  with st.container():
65
  # st.markdown('<div class="glass-panel">', unsafe_allow_html=True)