fix: Await async extract_style_anchor call

This commit is contained in:
empty
2026-01-06 23:54:35 +08:00
parent 7da6ed6a74
commit 4d3c89a8f6

View File

@@ -256,7 +256,7 @@ async def extract_style(
from pixelle_video.services.quality.style_guard import StyleGuard
style_guard = StyleGuard()
anchor = style_guard.extract_style_anchor(actual_path)
anchor = await style_guard.extract_style_anchor(actual_path)
style_schema = StyleAnchorSchema(
color_palette=anchor.color_palette,