Fix embed_guidance: liked_dir is under state["global"], not top-level
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
2c41209f2a
commit
d33b79fe38
+2
-1
@@ -1298,7 +1298,8 @@ class FunPackLTXAVSceneChainSampler:
|
||||
path = refinement_state_path(refinement_key, "clip", prefix="refine_v2")
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
state = _json.load(f)
|
||||
liked_dir_slot = state.get("liked_dir", {})
|
||||
global_state = state.get("global", state) # liked_dir lives under state["global"]
|
||||
liked_dir_slot = global_state.get("liked_dir", {})
|
||||
if int(liked_dir_slot.get("direction_count", 0)) < 3:
|
||||
return None
|
||||
raw = liked_dir_slot.get("direction")
|
||||
|
||||
Reference in New Issue
Block a user