diff --git a/ReadMe.md b/ReadMe.md index 9778e91..af5f98f 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -30,3 +30,11 @@ removal after the initial image is generated. The local model sometimes completely forgets critical details of characters, so it's important you have some familiarity with the work before running the generator to check accuracy. + +## Tasks +- [ ] Add timestamps to when a prompt is sent. +- [ ] Specify ETA when sending a prompt (1.5-8 minutes depending on length). (Show as end time as well as relative time.) +- [ ] option to delete input files or intermediate files at end of each operation step +- [ ] make script resumable instead of having to restart per book +- [ ] instead of placeholder directories, `mkdir -p` should be used to only make them when necessary +- [ ] dry run to estimate total time before running full script, print starting ETA diff --git a/make_cover_briefs.lua b/make_cover_briefs.lua index d0b4a1f..fa21bc0 100755 --- a/make_cover_briefs.lua +++ b/make_cover_briefs.lua @@ -217,7 +217,7 @@ tree("extracted_texts", function(file_name) print("Generating cover brief.") result = send_prompt(cover_brief_prompt .. text) write_all("cover_briefs/" .. name, result) - write_all("for_gemini/" .. name, name:sub(1, -5) .. gemini_prompt .. result) + write_all("for_gemini/" .. name, "Title: " .. name:sub(1, -5) .. gemini_prompt .. result) end) timing_report()