Skip to content

Commit

Permalink
修正采样器判断错误
Browse files Browse the repository at this point in the history
  • Loading branch information
MirrorCY committed Feb 4, 2024
1 parent cdedb8f commit e8d8a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export namespace sampler {
export function sd2nai(sampler: string, model: string): string {
if (sampler === 'k_euler_a') return 'k_euler_ancestral'
if (model === 'nai-v3' && sampler in nai3) return sampler
if (sampler in nai) return sampler
else if (sampler in nai) return sampler
return 'k_euler_ancestral'
}
}
Expand Down

0 comments on commit e8d8a31

Please sign in to comment.