actually label the source of output epubs appropriately

This commit is contained in:
2026-09-14 19:17:33 -06:00
parent c0bc8ca6a2
commit 16a0c6c93d
+6 -1
View File
@@ -51,6 +51,9 @@ local generate_and_score = function(file_name, text)
utility.save_data(object, "PRIVATE_DATA/synopses/" .. utility.uuid() .. ".json")
end
local export_ordered_list_of_prompts = function()
end
os.execute("mkdir -p PRIVATE_DATA/synopses")
@@ -80,7 +83,7 @@ if arg[1] == "export_ordered_list_of_prompts" then
"---",
"title: Ordered Synopses (" .. #item_order .. " items)",
"author: [\"" .. model .. "\", \"Tangent\", \"Ollama\"]",
"publisher: Tangent",
"publisher: \"synopsis_generator.lua\"",
"---",
"",
}
@@ -101,6 +104,8 @@ if arg[1] == "export_ordered_list_of_prompts" then
os.exit(0)
end
print(#files .. " files to select from.")
if #files == 0 then
print("Run \"./synopsis_generator.lua refresh_file_list\" first.")