diff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsx index 10d52075d..81a8d613f 100644 --- a/web/src/views/classification/ModelTrainingView.tsx +++ b/web/src/views/classification/ModelTrainingView.tsx @@ -75,6 +75,7 @@ import SearchDetailDialog, { } from "@/components/overlay/detail/SearchDetailDialog"; import { SearchResult } from "@/types/search"; import { HiSparkles } from "react-icons/hi"; +import { capitalizeFirstLetter } from "@/utils/stringUtil"; type ModelTrainingViewProps = { model: CustomClassificationModelConfig; @@ -88,7 +89,7 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) { // title useEffect(() => { - document.title = `${model.name.toUpperCase()} - ${t("documentTitle")}`; + document.title = `${capitalizeFirstLetter(model.name)} - ${t("documentTitle")}`; }, [model.name, t]); // model state