Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- 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(
|