$ git clone https://github.com/imskr/reFlair.git
$ cd reflair
$ python3 -m venv env_name
$ source env_name/bin/activate
$ pip3 install -r requirements.txt
$ python3 app.py
Go to http://127.0.0.1:5000 to test your app
Note: If you have fish
terminal run $ source env_name/bin/activate.fish
$ git clone https://github.com/imskr/reFlair.git
$ cd reflair
$ pip3 install -r requirements.txt
$ python3 app.py
Go to http://localhost:5000 to test your app
Data fetched using PRAW
reddit API.
Flairs supporting (currently 14)
Note: na
is added for unlabeled flair
Label | Flair | Samples(Clean) |
---|---|---|
1. | AskIndia | 754 |
2. | Business/Finance | 1688 |
3. | CAA-NRC-NPR | 77 |
4. | Food | 99 |
5. | Non-Political | 1355 |
6. | Policy/Economy | 113 |
7. | Politics | 468 |
8. | Scheduled | 1419 |
9. | Science/Technology | 11 |
10. | Coronavirus | 44 |
11. | Sports | 3232 |
12. | Photography | 88 |
13. | TIL | 11 |
14. | Unverified | 55 |
15. | na | 121 |
Distribution Graph