Skip to content

selangor-no-1/nus-sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nus-sentiment

NUS Hack&Roll 2023: Team 8 - Pink Mouse: NUS Sentiment

  • Status: 🟩 WIN - Coreteam's Best Roll
  • Read More: Devpost

Quick Start

git clone git@github.com:nus-sentiment/nus-sentiment.git
cd nus-sentiment
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Run the entrypoint

streamlit run Search.py

Credentials

In /.streamlit/secrets.toml

deta_key = "<deta.sh key>"
SECRET_KEY = "<reddit secrets key>"
ACCESS_TOKEN = "<reddit access token>"
PINECONE_KEY = "<pinecone api key>
USERNAME = "<reddit username>"
PASSWORD = "<reddit password>"

You can choose to omit USERNAME and PASSWORD. If you choose to do so remove these attributes from the PRAW Reddit object in utils/reddit.py.

Powered By

reddit

pinecone

deta

streamlit