Senmot Demo Local Deployment Guide
This guide provides the necessary commands to download, run, and verify the senmot-demo container image locally in your environment.
You can also view the active web deployment directly via the Hugging Face Space Live Demo: https://napakalas-senmot-demo.hf.space/viewer/?id=human-senmot-flatmap&server=default
Download Steps (Hugging Face Web)
- Go to your Hugging Face dataset page in your web browser: https://huggingface.co/napakalas/senmot-demo-docker/blob/main/senmot-demo.tar
- Click the download button to save the 940 MB file directly to your machine.
Windows Setup (PowerShell)
Ensure Docker Desktop is running, then open PowerShell and execute the following commands:
1. Load the Image Archive
Navigate to your download directory (for example, cd ~\Downloads) and import the file:
docker load -i senmot-demo.tar
2. Run the Container
Execute this string formatting to ensure PowerShell passes environmental variables and port binding cleanly:
docker run --rm -p 7860:7860 -e "SKIP_KNOWLEDGE_IMPORT=1" senmot-demo
macOS Setup (Terminal)
Open Terminal and verify that Docker Desktop is active on your Mac before executing:
1. Load the Image Archive
Navigate to your download folder and import the container:
docker load -i senmot-demo.tar
2. Run the Container
Standard Unix-like environments handle unquoted environment flags natively:
docker run --rm -p 7860:7860 -e SKIP_KNOWLEDGE_IMPORT=1 senmot-demo
Verifying Local Access
Once the initialization logs stabilize inside your chosen command shell, open a browser window and navigate to the viewer tool directly:
http://localhost:7860/viewer
To view the specific map configuration match identical to your cloud environment, use this exact local URL string:
http://localhost:7860/viewer/?id=human-senmot-flatmap&server=default