MatteoFasulo commited on
Commit
f4283a4
·
verified ·
1 Parent(s): 7464ef1

Update pages/Reddit.py

Browse files
Files changed (1) hide show
  1. pages/Reddit.py +1 -1
pages/Reddit.py CHANGED
@@ -7,7 +7,7 @@ import praw
7
  HOME = Path(__name__).parent.absolute()
8
 
9
 
10
- @st.cache
11
  def create_instance(*args, **kwargs):
12
  reddit = praw.Reddit(
13
  client_id=kwargs.get('client_id'),
 
7
  HOME = Path(__name__).parent.absolute()
8
 
9
 
10
+ @st.cache_data
11
  def create_instance(*args, **kwargs):
12
  reddit = praw.Reddit(
13
  client_id=kwargs.get('client_id'),