(self, pipeline_path, qwen_model_path, custom_weights_path, device)
| 107 | # --- Poster Generator Class --- |
| 108 | class PosterGenerator: |
| 109 | def __init__(self, pipeline_path, qwen_model_path, custom_weights_path, device): |
| 110 | self.device = device |
| 111 | self.qwen_agent = self._load_qwen_agent(qwen_model_path) |
| 112 | self.pipeline = self._load_flux_pipeline(pipeline_path, custom_weights_path) |
| 113 | |
| 114 | def _load_qwen_agent(self, qwen_model_path): |
| 115 | if not qwen_model_path: |
nothing calls this directly
no test coverage detected