File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ export function SettingsModal() {
8181 { id : 'custom' , name : 'Other' }
8282 ] ;
8383 case 'deepinfra' :
84+ if ( ! isDev ) {
85+ return [
86+ { id : 'hexgrad/Kokoro-82M' , name : 'hexgrad/Kokoro-82M' }
87+ ] ;
88+ }
8489 return [
8590 { id : 'hexgrad/Kokoro-82M' , name : 'hexgrad/Kokoro-82M' } ,
8691 { id : 'canopylabs/orpheus-3b-0.1-ft' , name : 'canopylabs/orpheus-3b-0.1-ft' } ,
@@ -398,7 +403,7 @@ export function SettingsModal() {
398403 type = "password"
399404 value = { localApiKey }
400405 onChange = { ( e ) => handleInputChange ( 'apiKey' , e . target . value ) }
401- placeholder = " Using environment variable"
406+ placeholder = { ! isDev && localTTSProvider === 'deepinfra' ? "Deepinfra free or override apikey" : " Using environment variable"}
402407 className = "w-full rounded-lg bg-background py-2 px-3 text-foreground shadow-sm focus:outline-none focus:ring-2 focus:ring-accent"
403408 />
404409 </ div >
You can’t perform that action at this time.
0 commit comments