update tile size key to match API
This commit is contained in:
parent
4959c01ddb
commit
41b38f910a
|
@ -1,6 +1,6 @@
|
|||
import { doesExist } from '@apextoaster/js-utils';
|
||||
import { HighresParams, ModelParams, Txt2ImgParams, UpscaleParams } from '../types/params.js';
|
||||
import { ChainPipeline } from '../types/chain.js';
|
||||
import { ChainPipeline, ChainStageParams } from '../types/chain.js';
|
||||
|
||||
export interface PipelineVariable {
|
||||
parameter: 'prompt' | 'cfg' | 'seed' | 'steps' | 'eta' | 'scheduler' | 'token';
|
||||
|
@ -49,9 +49,8 @@ export function makeTxt2ImgGridPipeline(grid: PipelineGrid, model: ModelParams,
|
|||
stages: [],
|
||||
};
|
||||
|
||||
const tiles = {
|
||||
// eslint-disable-next-line camelcase
|
||||
tile_size: 8192,
|
||||
const tiles: ChainStageParams = {
|
||||
tiles: 8192,
|
||||
};
|
||||
|
||||
let i = 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { ImageSize, Img2ImgParams, ModelParams, Txt2ImgParams } from './params.js';
|
||||
|
||||
export interface ChainStageParams {
|
||||
tile_size: number;
|
||||
tiles: number;
|
||||
}
|
||||
|
||||
export interface Txt2ImgStage {
|
||||
|
|
Loading…
Reference in New Issue