a simple little python GUI to load a folder with images and caption them
added a few more features:
- displays token count now thx to code from streamlit_clip_counter
- added a slider so it's more easy to jump between bigger amounts of images (note that autosave only saves the caption if you use the Previous/Next buttons or the arrow keys, not when you move with the slider)
- you can navigate with the left and right arrow keys now
- CMD+S or CTRL+S to save, or check "save when moving" to automatically save when... moving
- backup all txt-files of the opened folder to another folder
- find and remove
- find and replace
- removes and replaces for all txt-files btw!
- bigger text box for the caption
if you prefer the more minimal version you can use captioonr_s.py
- Open your terminal & navigate to the directory where you want to clone the repository via
cd your/desire/path/
- Run the following command to clone the repository:
git clone https://github.com/proximasan/captioonr.git
- Navigate to the cloned repository:
cd captioonr
- Install the required packages using pip:
pip install -r requirements.txt
- You can now run the code using the following command:
python captioonr.py