mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 06:10:51 -07:00
- Add modules/runtime/runner.py with ProcessingRunner and ProcessingRequest - Wire process_images to delegate through runner (internal only) - Add test/quality/test_processing_runner.py contract test Behavior-preserving. Zero blast radius. All callers unchanged. Made-with: Cursor
22 lines
606 B
Python
22 lines
606 B
Python
"""ProcessingRunner — unified execution entrypoint for Serena pipeline.
|
|
|
|
M10: Thin adapter around process_images_inner. No behavior changes.
|
|
"""
|
|
|
|
|
|
class ProcessingRequest:
|
|
"""Wraps StableDiffusionProcessing for runner boundary."""
|
|
|
|
def __init__(self, processing):
|
|
self.processing = processing
|
|
|
|
|
|
class ProcessingRunner:
|
|
"""
|
|
Unified execution entrypoint for Serena processing pipeline.
|
|
"""
|
|
|
|
def run(self, request):
|
|
"""Execute processing pipeline."""
|
|
from modules.processing import process_images_inner
|
|
return process_images_inner(request.processing)
|