mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
Merge branch 'feature/mvp' of https://github.com/storytold/storyteller-frontend into feature/mvp
This commit is contained in:
commit
166effe50b
1 file changed
+4
-4
@@ -47,10 +47,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);
|
||||
};
|
||||
|
||||
@@ -417,14 +417,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",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user