Update app.py
Browse files
app.py
CHANGED
@@ -395,7 +395,7 @@ fallback_model = AutoModelForSequenceClassification.from_pretrained(fallback_mod
|
|
395 |
reddit = praw.Reddit(
|
396 |
client_id=os.getenv("REDDIT_CLIENT_ID"),
|
397 |
client_secret=os.getenv("REDDIT_CLIENT_SECRET"),
|
398 |
-
user_agent=os.getenv("REDDIT_USER_AGENT", "sentiment-classifier-ui")
|
399 |
)
|
400 |
|
401 |
def fetch_reddit_text(reddit_url):
|
|
|
395 |
reddit = praw.Reddit(
|
396 |
client_id=os.getenv("REDDIT_CLIENT_ID"),
|
397 |
client_secret=os.getenv("REDDIT_CLIENT_SECRET"),
|
398 |
+
user_agent=os.getenv("REDDIT_USER_AGENT", "sentiment-classifier-ui-finalyear-shrish191")
|
399 |
)
|
400 |
|
401 |
def fetch_reddit_text(reddit_url):
|