Merge branch 'main' into bugfix/qwen3-tts-customvoice-asr-escalation

This commit is contained in:
Gao Han authored and GitHub committed 2026-07-04 13:26:03 +08:00
commit fc40c1b236
8 files changed
+383 -77

No files matched your search

@@ -14,7 +14,7 @@ import io
import PIL.Image
SUPPORTED_LAYERED_RESOLUTIONS = (640, 1024)
SUPPORTED_LAYERED_LAYERS_RANGE = range(3, 11)
SUPPORTED_LAYERED_LAYERS_RANGE = range(2, 11)
def parse_size(size_str: str) -> tuple[int, int]:
@@ -60,7 +60,7 @@ class ImageGenerationRequest(BaseModel):
user: str | None = Field(default=None, description="User identifier for tracking")
layers: int | None = Field(
default=None,
description="Number of output layers for layered image models. Supported range: 3-10.",
description="Number of output layers for layered image models. Supported range: 2-10.",
)
@field_validator("size")