Add base/FTM to model Type, reorder Model Information fields

This commit is contained in:
leccelecce 2025-04-17 11:38:13 +01:00
parent a6ee94e939
commit 691c32d7da

View File

@ -275,13 +275,17 @@ export default function FrigatePlusSettingsView({
<div className="grid grid-cols-2 gap-4"> <div className="grid grid-cols-2 gap-4">
<div> <div>
<Label className="text-muted-foreground"> <Label className="text-muted-foreground">
{t("frigatePlus.modelInfo.modelType")} {t("frigatePlus.modelInfo.baseModel")}
</Label> </Label>
<p> <p>
{config.model.plus.name} ( {config.model.plus.baseModel} (
{config.model.plus.width + {availableModels[config.model.plus.id].isBaseModel
"x" + ? t(
config.model.plus.height} "frigatePlus.modelInfo.plusModelType.baseModel",
)
: t(
"frigatePlus.modelInfo.plusModelType.userModel",
)}
) )
</p> </p>
</div> </div>
@ -297,9 +301,15 @@ export default function FrigatePlusSettingsView({
</div> </div>
<div> <div>
<Label className="text-muted-foreground"> <Label className="text-muted-foreground">
{t("frigatePlus.modelInfo.baseModel")} {t("frigatePlus.modelInfo.modelType")}
</Label> </Label>
<p>{config.model.plus.baseModel}</p> <p>
{config.model.plus.name} (
{config.model.plus.width +
"x" +
config.model.plus.height}
)
</p>
</div> </div>
<div> <div>
<Label className="text-muted-foreground"> <Label className="text-muted-foreground">