Skip to content

Commit 4ee9db8

Browse files
committed
lint
1 parent 155517e commit 4ee9db8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/inference/src/tasks/cv/textToImage.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export async function textToImage(args: TextToImageArgs, options?: Options): Pro
3939
!args.provider || args.provider === "hf-inference" || args.provider === "sambanova"
4040
? args
4141
: {
42-
...omit(args, ["inputs", "parameters"]),
43-
...args.parameters,
44-
...getResponseFormatArg(args.provider),
45-
prompt: args.inputs,
46-
};
42+
...omit(args, ["inputs", "parameters"]),
43+
...args.parameters,
44+
...getResponseFormatArg(args.provider),
45+
prompt: args.inputs,
46+
};
4747
const res = await request<TextToImageOutput | Base64ImageGeneration | OutputUrlImageGeneration>(payload, {
4848
...options,
4949
taskHint: "text-to-image",

0 commit comments

Comments
 (0)