Alan Rabello commited on
Commit ·
dbaf963
1
Parent(s): e786dd0
Credits
Browse files8 unmodified lines910111213148 unmodified linesThis Python CLI script generates caption files for all images within a specified folder. It saves the captions using the same filename as the corresponding image, with a .txt extension, either in the same folder or in the directory specified by the output_dir argument. The script will not create captions for images that already have a corresponding caption file in the output_dir.## Installation```bash8 unmodified lines9101112131415168 unmodified linesThis Python CLI script generates caption files for all images within a specified folder. It saves the captions using the same filename as the corresponding image, with a .txt extension, either in the same folder or in the directory specified by the output_dir argument. The script will not create captions for images that already have a corresponding caption file in the output_dir.This project is not original but an adaptation from several other projects from https://huggingface.co/fancyfeast , https://huggingface.co/John6666 and https://huggingface.co/Wi-zz## Installation```bash
README.md+2