Gradio implementation of a housing potential dashboard using the City Digital Twin developed at the Urban Data Research Centre.
The code may be run directly but the easiest way to get started is with docker.
Note: Environment variables (currently only the SPARQL_ENDPOINT) may be defined in a separate .env or passed through the docker build
- SPARQL_ENDPOINT=http://compass.project.urbandatacentre.ca/repositories/CDT_Rules
Clone the respository, then build the container by running the following in the folder (hpcdm-dashboard): docker build --progress=plain -t dashboard_img .
Running the container: docker run -d -p 7860:7860 --name demo_container --restart unless-stopped dashboard_img
See the documentation for more details.