Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit
|
|
3 |
from streamlit_lottie import st_lottie
|
4 |
|
5 |
|
6 |
-
def
|
7 |
r = requests.get(url)
|
8 |
if r.status_code != 200:
|
9 |
return None
|
|
|
3 |
from streamlit_lottie import st_lottie
|
4 |
|
5 |
|
6 |
+
def load_lottie_url(url: str):
|
7 |
r = requests.get(url)
|
8 |
if r.status_code != 200:
|
9 |
return None
|