update replicate max grid size
This commit is contained in:
parent
31fd7c231d
commit
e8dac15810
|
@ -20,8 +20,8 @@ class Predictor(BasePredictor):
|
||||||
grid_size: int = Input(
|
grid_size: int = Input(
|
||||||
description='Grid Size',
|
description='Grid Size',
|
||||||
ge=1,
|
ge=1,
|
||||||
le=3,
|
le=2,
|
||||||
default=3
|
default=2
|
||||||
)
|
)
|
||||||
) -> Path:
|
) -> Path:
|
||||||
image = self.model.generate_image(text, seed, grid_size=grid_size)
|
image = self.model.generate_image(text, seed, grid_size=grid_size)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user