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 { doesExist } from '@apextoaster/js-utils';
|
||||||
import { HighresParams, ModelParams, Txt2ImgParams, UpscaleParams } from '../types/params.js';
|
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 {
|
export interface PipelineVariable {
|
||||||
parameter: 'prompt' | 'cfg' | 'seed' | 'steps' | 'eta' | 'scheduler' | 'token';
|
parameter: 'prompt' | 'cfg' | 'seed' | 'steps' | 'eta' | 'scheduler' | 'token';
|
||||||
|
@ -49,9 +49,8 @@ export function makeTxt2ImgGridPipeline(grid: PipelineGrid, model: ModelParams,
|
||||||
stages: [],
|
stages: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
const tiles = {
|
const tiles: ChainStageParams = {
|
||||||
// eslint-disable-next-line camelcase
|
tiles: 8192,
|
||||||
tile_size: 8192,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { ImageSize, Img2ImgParams, ModelParams, Txt2ImgParams } from './params.js';
|
import { ImageSize, Img2ImgParams, ModelParams, Txt2ImgParams } from './params.js';
|
||||||
|
|
||||||
export interface ChainStageParams {
|
export interface ChainStageParams {
|
||||||
tile_size: number;
|
tiles: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Txt2ImgStage {
|
export interface Txt2ImgStage {
|
||||||
|
|
Loading…
Reference in New Issue