Gradio-BBox
November 28, 2024 ยท View on GitHub
It is an extension to official gradio-3.36.1, which supports drawing boxes on top of an image.
This repository is forked from Gradio-Osprey-Demo.
Thanks for their great contribution.
Install
1. Install Node.js
We install it on Ubuntu with:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc # or ~/.zshrc based on which one you use
nvm install v18.16.0
2. Install ppnm
curl -fsSL https://get.pnpm.io/install.sh | sh -
source ~/.bashrc # or ~/.zshrc based on which one you use
pnpm --version # check if success
3. Install gradio
git clone https://github.com/chencn2020/gradio-bbox.git
cd gradio-bbox
bash scripts/build_frontend.sh
pip install -e .