Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
SBrandeis committed Jan 16, 2025
1 parent d309548 commit 455ea4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/inference/src/providers/replicate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ export const REPLICATE_MODEL_IDS: ProviderMapping<ReplicateId> = {
"ByteDance/SDXL-Lightning":
"bytedance/sdxl-lightning-4step:5599ed30703defd1d160a25a63321b4dec97101d98b4674bcc56e41f62f35637",
},
// "text-to-speech": {
// "SWivid/F5-TTS": "x-lance/f5-tts:87faf6dd7a692dd82043f662e76369cab126a2cf1937e25a9d41e0b834fd230e"
// },
};
9 changes: 9 additions & 0 deletions packages/inference/test/HfInference.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,15 @@ describe.concurrent("HfInference", () => {
});
expect(res).toBeInstanceOf(Blob);
});

it.skip("textToSpeech versioned", async () => {
const res = await client.textToSpeech({
model: "SWivid/F5-TTS",
provider: "replicate",
inputs: "Hello, how are you?",
});
expect(res).toBeInstanceOf(Blob);
})
},
TIMEOUT
);
Expand Down

0 comments on commit 455ea4b

Please sign in to comment.