actually label the source of output epubs appropriately
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user