default LoRA weight to 0.75

This commit is contained in:
Lincoln Stein 2023-07-05 16:54:23 -04:00
parent 685a47cc7d
commit c21bd806f0
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ const ParamLora = (props: Props) => {
);
const handleReset = useCallback(() => {
dispatch(loraWeightChanged({ id: lora.id, weight: 1 }));
dispatch(loraWeightChanged({ id: lora.id, weight: 0.75 }));
}, [dispatch, lora.id]);
const handleRemoveLora = useCallback(() => {

View File

@ -8,7 +8,7 @@ export type Lora = {
};
export const defaultLoRAConfig: Omit<Lora, 'id' | 'name'> = {
weight: 1,
weight: 0.75,
};
export type LoraState = {