Beasto commited on
Commit
d35f7a5
·
1 Parent(s): 2fe87f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import json
4
  from streamlit_lottie import st_lottie
5
 
6
  def lottiemaker(path):
7
- with open('r') as f:
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