fix: Add Depth Anything V2 as a new option

It is also now the default in the UI replacing Depth Anything V1 small
This commit is contained in:
blessedcoolant
2024-07-31 23:29:43 +05:30
parent 95dde802ea
commit 13fb2d1f49
7 changed files with 282 additions and 145 deletions

View File

@@ -24,6 +24,7 @@ export const DepthAnythingProcessor = memo(({ onChange, config }: Props) => {
const options: { label: string; value: DepthAnythingModelSize }[] = useMemo(
() => [
{ label: t('controlnet.depthAnythingSmallV2'), value: 'small_v2' },
{ label: t('controlnet.small'), value: 'small' },
{ label: t('controlnet.base'), value: 'base' },
{ label: t('controlnet.large'), value: 'large' },