Simplify beat prompt directive helpers
This commit is contained in:
@@ -47,7 +47,8 @@ def _assemble_beat_prompt(state):
|
||||
class DumasH3BeatPromptNode:
|
||||
DESCRIPTION = (
|
||||
"Build a MiniMax H3 prompt from one textbox per beat, with a front-end beat "
|
||||
"editor that can append directive examples such as wardrobe, seconds, exit, and music."
|
||||
"editor that can append directive examples such as wardrobe set/add/remove, "
|
||||
"seconds, exit, and music."
|
||||
)
|
||||
RETURN_TYPES = ("STRING",)
|
||||
RETURN_NAMES = ("prompt",)
|
||||
|
||||
@@ -9,9 +9,10 @@ const DEFAULT_H = 340;
|
||||
const DEFAULT_BEAT = "Describe this beat.";
|
||||
const STATE_PROPERTY = "dumas_h3_beat_prompt_state";
|
||||
const DIRECTIVE_EXAMPLES = [
|
||||
["wardrobe", "wardrobe: Maya = grey shorts, red jacket"],
|
||||
["wardrobe set", "wardrobe: Maya = grey shorts, red jacket"],
|
||||
["wardrobe add", "wardrobe: Maya += red jacket"],
|
||||
["wardrobe remove", "wardrobe: Maya -= red jacket"],
|
||||
["seconds", "seconds: 8"],
|
||||
["duration", "duration: 8 seconds"],
|
||||
["exit", "exit: Maya"],
|
||||
["enter", "enter: Jon"],
|
||||
["overall_soundscape", "overall_soundscape: soft rain, distant traffic"],
|
||||
@@ -287,7 +288,7 @@ function setupNode(node) {
|
||||
title.textContent = "Beat Prompt Builder";
|
||||
const subtitle = document.createElement("div");
|
||||
subtitle.className = "dh3bp-subtitle";
|
||||
subtitle.textContent = "One textbox per H3 beat. Buttons append directive examples into that beat.";
|
||||
subtitle.textContent = "One textbox per H3 beat. Use the buttons for seconds and quick wardrobe set/add/remove syntax.";
|
||||
titleWrap.append(title, subtitle);
|
||||
|
||||
const addButton = document.createElement("button");
|
||||
|
||||
Reference in New Issue
Block a user