mirror of
https://github.com/nod-ai/SHARK-Studio.git
synced 2026-01-09 13:57:54 -05:00
Bumps [gradio](https://github.com/gradio-app/gradio) from 3.34.0 to 4.19.2. - [Release notes](https://github.com/gradio-app/gradio/releases) - [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md) - [Commits](https://github.com/gradio-app/gradio/compare/v3.34.0...gradio@4.19.2) --- updated-dependencies: - dependency-name: gradio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ean Garvey <87458719+monorimet@users.noreply.github.com>
Dataset annotation tool
SHARK annotator for adding or modifying prompts of dataset images
Set up
Activate SHARK Python virtual environment and install additional packages
source ../shark.venv/bin/activate
pip install -r requirements.txt
Run annotator
python annotation_tool.py
- Select a dataset from
Datasetdropdown list - Select an image from
Imagedropdown list - Image and the existing prompt will be loaded
- Select a prompt from
Promptdropdown list to modify or "Add new" to add a prompt - Click
Saveto save changes, clickDeleteto delete prompt - Click
BackorNextto switch image, you could also select other images fromImage - Click
Finishwhen finishing annotation or before switching dataset