Skip to content

Commit b163407

Browse files
hanouticelinaDeep-Unlearning
authored andcommitted
[Inference Providers] Update fal-ai input for text-to-speech (#1377)
context in this slack [message](https://huggingface.slack.com/archives/C0664PDFGSJ/p1745395082617929?thread_ts=1745388278.838629&cid=C0664PDFGSJ) (internal link). tested the PR with [Dia](https://huggingface.co/nari-labs/Dia-1.6B) by overriding `HARDCODED_MODEL_INFERENCE_MAPPING` with: ```js ... "fal-ai": { "nari-labs/Dia-1.6B": { providerId: "fal-ai/dia-tts", hfModelId: "nari-labs/Dia-1.6B", task: "text-to-speech", status: "live", }, }, ... ```
1 parent 372cfd4 commit b163407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/inference/src/providers/fal-ai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export class FalAITextToSpeechTask extends FalAITask {
241241
return {
242242
...omit(params.args, ["inputs", "parameters"]),
243243
...(params.args.parameters as Record<string, unknown>),
244-
lyrics: params.args.inputs,
244+
text: params.args.inputs,
245245
};
246246
}
247247

0 commit comments

Comments
 (0)