changed to lora type

This commit is contained in:
BFlat committed 2024-02-10 09:09:51 +07:00
1 parent b0b3eae2f9
commit fa5fed0653
1 file changed
+4 -4
@@ -46,10 +46,10 @@ function SdInferencePanel({
const [loraToken, setLoraToken] = useState<string | null>(null);
const [weightToken, setWeightToken] = useState(sd_model_token);
const handleOnWeightSelect = (data:{token:string,title:string}) => {
const handleOnWeightSelect = (data: { token: string; title: string }) => {
setWeightToken(data.token);
};
const handleOnSelect = (data:{token:string,title:string}) => {
const handleOnSelect = (data: { token: string; title: string }) => {
setLoraToken(data.token);
};
@@ -409,14 +409,14 @@ function SdInferencePanel({
{
label: "All LoRA Weights",
tabKey: "allLoraWeights",
typeFilter: "rvc_v2",
typeFilter: "loRA",
searcher: true,
type: "weights",
},
{
label: "Bookmarked",
tabKey: "bookmarkedLoraWeights",
typeFilter: "rvc_v2",
typeFilter: "loRA",
searcher: false,
type: "weights",
},