Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from pyspark.sql.types import StringType
|
|
| 16 |
from huggingface_hub import HfApi
|
| 17 |
|
| 18 |
# Load token from Hugging Face Secrets
|
| 19 |
-
HF_TOKEN = os.environ.get("RedditSemanticSearch"
|
| 20 |
|
| 21 |
# Define target subreddits
|
| 22 |
target_subreddits = ["askscience", "gaming", "technology", "todayilearned", "programming"]
|
|
|
|
| 16 |
from huggingface_hub import HfApi
|
| 17 |
|
| 18 |
# Load token from Hugging Face Secrets
|
| 19 |
+
HF_TOKEN = os.environ.get("RedditSemanticSearch")
|
| 20 |
|
| 21 |
# Define target subreddits
|
| 22 |
target_subreddits = ["askscience", "gaming", "technology", "todayilearned", "programming"]
|