Skip to content

Repository files navigation

countgd-cli

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.

Pre-requisites

  • Python3.10+

Installation

python3 -m venv env
source env/bin/activate

pip install .

Usage

countgd run

Using Docker

To 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 > .env

Then, you can use the app within docker by

docker compose run --rm -it countgd-cli -- countgd --help

Dev

TODO

  • 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

Contributing

About

CLI / Gradio client for CountGD

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages