Update sentiment.py
Browse files- sentiment.py +3 -3
sentiment.py
CHANGED
@@ -26,9 +26,9 @@ def load_data(filename):
|
|
26 |
|
27 |
|
28 |
# PRAW configs
|
29 |
-
REDDIT_CLIENT_ID =
|
30 |
-
REDDIT_CLIENT_SECRET =
|
31 |
-
REDDIT_USERNAME =
|
32 |
|
33 |
reddit = praw.Reddit(
|
34 |
client_id=REDDIT_CLIENT_ID,
|
|
|
26 |
|
27 |
|
28 |
# PRAW configs
|
29 |
+
REDDIT_CLIENT_ID = os.environ['client_id']
|
30 |
+
REDDIT_CLIENT_SECRET = os.environ['secret_key']
|
31 |
+
REDDIT_USERNAME = os.environ['username']
|
32 |
|
33 |
reddit = praw.Reddit(
|
34 |
client_id=REDDIT_CLIENT_ID,
|