kusa04 commited on
Commit
76015ae
·
verified ·
1 Parent(s): be00618

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -23,7 +23,7 @@ def normalize_text(text):
23
  return re.sub(r'\s+', ' ', text).strip()
24
 
25
  # ---------- Cached function for scraping Reddit data ----------
26
- @st.cache_data(show_spinner=False)
27
  def scrape_reddit_data(search_query, total_limit):
28
  # Retrieve API credentials from st.secrets
29
  reddit = praw.Reddit(
 
23
  return re.sub(r'\s+', ' ', text).strip()
24
 
25
  # ---------- Cached function for scraping Reddit data ----------
26
+ # @st.cache_data(show_spinner=False)
27
  def scrape_reddit_data(search_query, total_limit):
28
  # Retrieve API credentials from st.secrets
29
  reddit = praw.Reddit(