Run this program in CLI #69
Replies: 2 comments 4 replies
-
I don't have plans to provide a command-line tool yet, but hey, this is python, and I've already published the SD Prompt Reader on PyPI. If you're not experienced with Python, I can provide some simple Python scripts to call the SD Prompt Reader for batch processing (you can even use chatgpt to write some simple scripts). The new version that supports batch processing is already half done, but I haven't had enough time to complete it recently. But anyhow, you've made me realise I should at least provide some simpler ways for users to batch process or call SD Prompt Reader through CLI. |
Beta Was this translation helpful? Give feedback.
-
I just released a beta version with a CLI. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to run a program in the CLI to batch edit the metadata attached to PNG files? I've generated 576 images in Automatic1111 and want to upload them to CivitAI. However, when I try to upload, the auto-analyzing feature doesn't display the 'Lora' data for any of the images. I suspect this is due to incorrect hashes in the PNG metadata.
I've manually corrected the metadata for some files using 'SD_Prompt_reader', but this is tedious. Could the script be modified to run 'SD_Prompt_reader' in the CLI? Ideally, the script would read an updated metadata text file and then save the changes to the corresponding PNG files.
Beta Was this translation helpful? Give feedback.
All reactions