change lama default strategy to CROP
it's more user friendly for first time user, especially for users who use cpu
This commit is contained in:
parent
8edc439952
commit
e971f6090b
@ -172,10 +172,10 @@ export interface Settings {
|
|||||||
|
|
||||||
const defaultHDSettings: ModelsHDSettings = {
|
const defaultHDSettings: ModelsHDSettings = {
|
||||||
[AIModel.LAMA]: {
|
[AIModel.LAMA]: {
|
||||||
hdStrategy: HDStrategy.RESIZE,
|
hdStrategy: HDStrategy.CROP,
|
||||||
hdStrategyResizeLimit: 2048,
|
hdStrategyResizeLimit: 2048,
|
||||||
hdStrategyCropTrigerSize: 2048,
|
hdStrategyCropTrigerSize: 1280,
|
||||||
hdStrategyCropMargin: 128,
|
hdStrategyCropMargin: 196,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
[AIModel.LDM]: {
|
[AIModel.LDM]: {
|
||||||
|
Loading…
Reference in New Issue
Block a user