File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1066,8 +1066,12 @@ export const generateImage = async (
1066
1066
num_inference_steps : modelSettings ?. steps ?? 50 ,
1067
1067
guidance_scale : data . guidanceScale || 3.5 ,
1068
1068
num_images : data . count ,
1069
- enable_safety_checker : runtime . getSetting ( "FAL_AI_ENABLE_SAFETY_CHECKER" ) === "true" ,
1070
- safety_tolerance : Number ( runtime . getSetting ( "FAL_AI_SAFETY_TOLERANCE" ) || "2" ) ,
1069
+ enable_safety_checker :
1070
+ runtime . getSetting ( "FAL_AI_ENABLE_SAFETY_CHECKER" ) ===
1071
+ "true" ,
1072
+ safety_tolerance : Number (
1073
+ runtime . getSetting ( "FAL_AI_SAFETY_TOLERANCE" ) || "2"
1074
+ ) ,
1071
1075
output_format : "png" as const ,
1072
1076
seed : data . seed ?? 6252023 ,
1073
1077
...( runtime . getSetting ( "FAL_AI_LORA_PATH" )
@@ -1368,6 +1372,7 @@ export async function handleProvider(
1368
1372
case ModelProviderName . AKASH_CHAT_API :
1369
1373
return await handleOpenAI ( options ) ;
1370
1374
case ModelProviderName . ANTHROPIC :
1375
+ case ModelProviderName . CLAUDE_VERTEX :
1371
1376
return await handleAnthropic ( options ) ;
1372
1377
case ModelProviderName . GROK :
1373
1378
return await handleGrok ( options ) ;
You can’t perform that action at this time.
0 commit comments