替换html2image为playwright方案

This commit is contained in:
puke committed 2026-04-13 11:29:05 +08:00
1 parent 900df3ab39
commit fd39263dd7
8 files changed
+2037 -2118

No files matched your search

+3
View File
@@ -51,6 +51,9 @@ async def shutdown_pixelle_video():
logger.info("Shutting down Pixelle-Video...")
await _pixelle_video_instance.cleanup()
_pixelle_video_instance = None
from pixelle_video.services.frame_html import HTMLFrameGenerator
await HTMLFrameGenerator.close_browser()
# Type alias for dependency injection