Skip to content

Commit 8ebb498

Browse files
Merge pull request #7 from SUBHADIPMAITI-DEV/main
LICENSE
2 parents b65b9d2 + c31e1de commit 8ebb498

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,23 @@ SYSTEM REQUIREMENT
1313
System Processing: I3 10TH Gen ;
1414
RAM: 8GB ;
1515
Storage: SSD 512 GB ;
16-
Also we can used cloud execution for GPU – Google Colab architecture.
16+
Also, we can use cloud execution for GPU – Google Colab architecture.
1717

1818
🔎Software Requirements:
1919
OS: Windows 10 ;
2020
Google Colab ;
21+
2122

2223
RESULT ANALYSIS
2324
![image](https://user-images.githubusercontent.com/78700974/204124779-9d353689-2adb-499d-97e3-171c69f4ee8f.png)
2425

26+
RESULT VIDEO
27+
28+
29+
https://github.com/SUBHADIPMAITI-DEV/Depression-Detection-System-Using-Machine-Learning/assets/78700974/f70aed97-32f2-4086-a80c-51770771f1c4
30+
31+
32+
2533
Project Link ➡️ [🔗](https://colab.research.google.com/drive/1YNyzk4WtfaDW5673s5LFI0dpK9tTl5wo?usp=sharing)
2634

2735

twitterapiaccount.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,11 @@ def train_decision_tree(X_train, X_test, y_train, y_test):
293293

294294
def download_user_tweets():
295295
# set twitter credentials
296-
api_key = '850YrbsNWucByH06cbS6Ao6xy'
297-
api_key_secret = 'lYmg13QM5MzjaN0xs0IxR12B1FvLDCLc2rnQ2cXfgScETEWWp5'
298-
access_token = '1580202146255220736-Nca2hdTr9quLSwjh3QIOZSEjyQ8p9a'
299-
access_token_secret = 'ivF4kpe9VZSy1Os68iF3mJm3TvXjHpHB2o8dYcIc1MTM9'
296+
#insert your API key details
297+
api_key = 'api----key----here'
298+
api_key_secret = 'api------key-------secret--here'
299+
access_token = 'access----token-------here'
300+
access_token_secret = 'access----------token-----secret----here'
300301

301302
# Access Twitter Data (login to twitter via api)
302303
auth = tweepy.OAuthHandler(api_key, api_key_secret)
@@ -392,4 +393,4 @@ def final_output(predictions):
392393

393394
user_tweets = download_user_tweets()
394395
predictions = predict_user_tweets(user_tweets)
395-
final_output(predictions)
396+
final_output(predictions)

0 commit comments

Comments
 (0)