MCPcopy Create free account
hub / github.com/Tencent/digitalhuman / StoryComponents

Class StoryComponents

ScriptAgent/code/director_agent.py:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425
426@dataclass
427class StoryComponents:
428 nodes: List[str]
429 characters: str
430 scene: str
431 station_nodes: List[str]
432 dialog_text: str
433 time_spans: List[Tuple[int, int]]
434
435
436def parse_script_nodes(script_text: str) -> List[str]:

Callers 2

extract_story_componentsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected