A lightweight client for the CountGD HF Space app to experiment with UI to support batch processing of images and videos and export in additional formats.
- Python3.10+
python3 -m venv env
source env/bin/activate
pip install .countgd runTo make sure bind mounts work properly, we need to map the UID / GID within the container properly. To help with that run the following command
HOST_UID=$(id -u $USER) HOST_GID=$(id -g $USER) envsubst < .env.template > .envThen, you can use the app within docker by
docker compose run --rm -it countgd-cli -- countgd --helpTODO
- Gradio interface to accept files
- Show Image Prompter interface and let the user select an image as an upload
- Make API call and display result one at a time.
- Write to JSON
- Visualiser to overlay json on zip file