Add sample_start_step setting to configure when sampling starts (#949)
Co-authored-by: Jaret Burkett <jaretburkett@gmail.com>
This commit is contained in:
@@ -1182,6 +1182,15 @@ export default function SimpleJob({
|
||||
min={1}
|
||||
required
|
||||
/>
|
||||
<NumberInput
|
||||
label="Sample Start Step"
|
||||
value={jobConfig.config.process[0].sample.sample_start_step ?? 0}
|
||||
onChange={value => setJobConfig(value, 'config.process[0].sample.sample_start_step')}
|
||||
placeholder="eg. 0"
|
||||
className="pt-2"
|
||||
min={0}
|
||||
required
|
||||
/>
|
||||
<SelectInput
|
||||
label="Sampler"
|
||||
className="pt-2"
|
||||
|
||||
@@ -3,6 +3,7 @@ import { SampleConfig } from "@/types";
|
||||
export const defaultSampleConfig: SampleConfig = {
|
||||
sampler: 'flowmatch',
|
||||
sample_every: 250,
|
||||
sample_start_step: 0,
|
||||
width: 1024,
|
||||
height: 1024,
|
||||
samples: [
|
||||
@@ -52,6 +53,7 @@ export const defaultSampleConfig: SampleConfig = {
|
||||
export const defaultAudioSampleConfig: SampleConfig = {
|
||||
sampler: 'flowmatch',
|
||||
sample_every: 250,
|
||||
sample_start_step: 0,
|
||||
width: 1024,
|
||||
height: 1024,
|
||||
samples: [
|
||||
@@ -406,6 +408,7 @@ It's Converging!
|
||||
export const defaultIdeogramSamplesConfig: SampleConfig = {
|
||||
sampler: 'flowmatch',
|
||||
sample_every: 250,
|
||||
sample_start_step: 0,
|
||||
width: 1024,
|
||||
height: 1024,
|
||||
samples: [
|
||||
@@ -973,4 +976,4 @@ export const defaultIdeogramSamplesConfig: SampleConfig = {
|
||||
sample_steps: 30,
|
||||
num_frames: 1,
|
||||
fps: 1,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,6 +201,7 @@ export interface SampleItem {
|
||||
export interface SampleConfig {
|
||||
sampler: string;
|
||||
sample_every: number;
|
||||
sample_start_step: number;
|
||||
width: number;
|
||||
height: number;
|
||||
prompts?: string[];
|
||||
|
||||
Reference in New Issue
Block a user