Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import json
|
|
| 4 |
from streamlit_lottie import st_lottie
|
| 5 |
|
| 6 |
def lottiemaker(path):
|
| 7 |
-
with open(
|
| 8 |
return json.load(f)
|
| 9 |
|
| 10 |
|
|
|
|
| 4 |
from streamlit_lottie import st_lottie
|
| 5 |
|
| 6 |
def lottiemaker(path):
|
| 7 |
+
with open(path) as f:
|
| 8 |
return json.load(f)
|
| 9 |
|
| 10 |
|