fix: Await async extract_style_anchor call
This commit is contained in:
@@ -256,7 +256,7 @@ async def extract_style(
|
|||||||
from pixelle_video.services.quality.style_guard import StyleGuard
|
from pixelle_video.services.quality.style_guard import StyleGuard
|
||||||
|
|
||||||
style_guard = StyleGuard()
|
style_guard = StyleGuard()
|
||||||
anchor = style_guard.extract_style_anchor(actual_path)
|
anchor = await style_guard.extract_style_anchor(actual_path)
|
||||||
|
|
||||||
style_schema = StyleAnchorSchema(
|
style_schema = StyleAnchorSchema(
|
||||||
color_palette=anchor.color_palette,
|
color_palette=anchor.color_palette,
|
||||||
|
|||||||
Reference in New Issue
Block a user