Skip to content

parleh-mate/singapore-parliament-speeches-streamlit

Repository files navigation

singapore-parliament-speeches-streamlit

streamlit frontend for singapore-parliament-speeches

To contribute

Install dependencies

pip install -r requirements.txt

Create filter with the relative path .streamlit/secrets.toml, contents:

Note

These should be the credentials for the service account for singapore-parliament-speeches. Note that whenever deploying to the Cloud, these credentials must be copied.

[gcp_service_account]
type = "service_account"
project_id = "..."
private_key_id = "..."
private_key = "..."
client_email = "..."
client_id = "..."
auth_uri = "https://accounts.google.com/o/oauth2/auth"
token_uri = "https://oauth2.googleapis.com/token"
auth_provider_x509_cert_url = "https://www.googleapis.com/oauth2/v1/certs"
client_x509_cert_url = "..."

Run streamlit:

Note

In this case, Singapore_Parliament_Speeches.py is referred to because it is the first page.

streamlit run Singapore_Parliament_Speeches.py

About

streamlit frontend for singapore-parliament-speeches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages