File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 116
116
"negativePrompt" : " Negative Prompt" ,
117
117
"removeNegativePrompt" : " Remove Negative Prompt" ,
118
118
"addNegativePrompt" : " Add Negative Prompt" ,
119
+ "selectYourModel" : " Select Your Model" ,
119
120
"discordLabel" : " Discord" ,
120
121
"dontAskMeAgain" : " Don't ask me again" ,
121
122
"dontShowMeThese" : " Don't show me these" ,
Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ import { InformationalPopover } from 'common/components/InformationalPopover/Inf
4
4
import { ModelPicker } from 'features/parameters/components/ModelPicker' ;
5
5
import { modelSelected } from 'features/parameters/store/actions' ;
6
6
import { memo , useCallback , useMemo } from 'react' ;
7
+ import { useTranslation } from 'react-i18next' ;
7
8
import { MdMoneyOff } from 'react-icons/md' ;
8
9
import { useMainModels } from 'services/api/hooks/modelsByType' ;
9
10
import { useSelectedModelConfig } from 'services/api/hooks/useSelectedModelConfig' ;
10
11
import { type AnyModelConfig , isCheckpointMainModelConfig } from 'services/api/types' ;
11
12
12
13
export const InitialStateMainModelPicker = memo ( ( ) => {
14
+ const { t } = useTranslation ( ) ;
13
15
const dispatch = useAppDispatch ( ) ;
14
16
const [ modelConfigs ] = useMainModels ( ) ;
15
17
const selectedModelConfig = useSelectedModelConfig ( ) ;
@@ -31,7 +33,7 @@ export const InitialStateMainModelPicker = memo(() => {
31
33
return (
32
34
< FormControl orientation = "vertical" alignItems = "unset" >
33
35
< FormLabel display = "flex" fontSize = "md" gap = { 2 } >
34
- Select your Model { ' ' }
36
+ { t ( 'common.selectYourModel' ) } { ' ' }
35
37
{ isFluxDevSelected && (
36
38
< InformationalPopover feature = "fluxDevLicense" hideDisable = { true } >
37
39
< Flex justifyContent = "flex-start" >
You can’t perform that action at this time.
0 commit comments