lunarflu HF Staff commited on
Commit
79167e6
·
verified ·
1 Parent(s): 483388c
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import praw
 
 
 
 
 
 
 
 
2
 
3
  # Reddit API credentials
4
  print("Initializing Reddit instance...")
 
1
  import praw
2
+ import os
3
+
4
+
5
+ client_id = os.getenv('CLIENT_ID')
6
+ client_secret = os.getenv('CLIENT_SECRET')
7
+ user_agent = os.getenv('USER_AGENT')
8
+ username = os.getenv('REDDIT_USERNAME')
9
+ password = os.getenv('REDDIT_PASSWORD')
10
 
11
  # Reddit API credentials
12
  print("Initializing Reddit instance...")