Skip to content

Commit 7d64997

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents df1f548 + b5bb4f4 commit 7d64997

File tree

11 files changed

+49
-7788
lines changed

11 files changed

+49
-7788
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
pnpm --filter ...[${{ steps.since.outputs.SINCE }}]... build
3939
4040
- name: Test
41-
run: VCR_MODE=playback pnpm --filter ...[${{ steps.since.outputs.SINCE }}] test
41+
run: pnpm --filter ...[${{ steps.since.outputs.SINCE }}] test
4242
env:
4343
HF_TOKEN: ${{ secrets.HF_TOKEN }}
4444

@@ -76,7 +76,7 @@ jobs:
7676
pnpm --filter ...[${{ steps.since.outputs.SINCE }}]... build
7777
7878
- name: Test in browser
79-
run: VCR_MODE=playback pnpm --filter ...[${{ steps.since.outputs.SINCE }}] test:browser
79+
run: pnpm --filter ...[${{ steps.since.outputs.SINCE }}] test:browser
8080
env:
8181
HF_TOKEN: ${{ secrets.HF_TOKEN }}
8282

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ You can run our packages with vanilla JS, without any bundler, by using a CDN or
9797

9898
```html
9999
<script type="module">
100-
import { InferenceClient } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected].1/+esm';
100+
import { InferenceClient } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected].2/+esm';
101101
import { createRepo, commit, deleteRepo, listFiles } from "https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/+esm";
102102
</script>
103103
```

packages/inference/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@huggingface/inference",
3-
"version": "3.8.1",
3+
"version": "3.8.2",
44
"packageManager": "[email protected]",
55
"license": "MIT",
66
"author": "Hugging Face and Tim Mikeladze <[email protected]>",

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

packages/inference/test/InferenceClient.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
import { isUrl } from "../src/lib/isUrl";
1515
import { HARDCODED_MODEL_INFERENCE_MAPPING } from "../src/providers/consts";
1616
import { readTestFile } from "./test-files";
17-
import "./vcr";
1817

1918
const TIMEOUT = 60000 * 3;
2019
const env = import.meta.env;
@@ -23,7 +22,7 @@ if (!env.HF_TOKEN) {
2322
console.warn("Set HF_TOKEN in the env to run the tests for better rate limits");
2423
}
2524

26-
describe.concurrent("InferenceClient", () => {
25+
describe.skip("InferenceClient", () => {
2726
// Individual tests can be ran without providing an api key, however running all tests without an api key will result in rate limiting error.
2827

2928
describe("backward compatibility", () => {

0 commit comments

Comments
 (0)