fix(api): increase max tile size for output and grid stages to max
This commit is contained in:
parent
539140909b
commit
5ffe8b26fa
|
@ -3,7 +3,7 @@ from typing import List, Optional
|
|||
|
||||
from PIL import Image
|
||||
|
||||
from ..params import ImageParams, StageParams
|
||||
from ..params import ImageParams, SizeChart, StageParams
|
||||
from ..server import ServerContext
|
||||
from ..worker import ProgressCallback, WorkerContext
|
||||
from .stage import BaseStage
|
||||
|
@ -12,6 +12,8 @@ logger = getLogger(__name__)
|
|||
|
||||
|
||||
class BlendGridStage(BaseStage):
|
||||
max_tile = SizeChart.max
|
||||
|
||||
def run(
|
||||
self,
|
||||
_worker: WorkerContext,
|
||||
|
|
|
@ -4,7 +4,7 @@ from typing import List, Optional
|
|||
from PIL import Image
|
||||
|
||||
from ..output import save_image
|
||||
from ..params import ImageParams, Size, StageParams
|
||||
from ..params import ImageParams, Size, SizeChart, StageParams
|
||||
from ..server import ServerContext
|
||||
from ..worker import WorkerContext
|
||||
from .stage import BaseStage
|
||||
|
@ -13,6 +13,8 @@ logger = getLogger(__name__)
|
|||
|
||||
|
||||
class PersistDiskStage(BaseStage):
|
||||
max_tile = SizeChart.max
|
||||
|
||||
def run(
|
||||
self,
|
||||
_worker: WorkerContext,
|
||||
|
|
Loading…
Reference in New Issue