Update README.md
Browse files
README.md
CHANGED
@@ -88,7 +88,6 @@ pipe = pipeline(
|
|
88 |
torch_dtype=torch_dtype,
|
89 |
device=device,
|
90 |
model_kwargs=model_kwargs,
|
91 |
-
chunk_length_s=15,
|
92 |
batch_size=16,
|
93 |
trust_remote_code=True,
|
94 |
punctuator=True
|
@@ -99,7 +98,7 @@ dataset = load_dataset("japanese-asr/ja_asr.reazonspeech_test", split="test")
|
|
99 |
sample = dataset[0]["audio"]
|
100 |
|
101 |
# run inference
|
102 |
-
result = pipe(sample, return_timestamps=True, generate_kwargs=generate_kwargs)
|
103 |
print(result)
|
104 |
```
|
105 |
|
|
|
88 |
torch_dtype=torch_dtype,
|
89 |
device=device,
|
90 |
model_kwargs=model_kwargs,
|
|
|
91 |
batch_size=16,
|
92 |
trust_remote_code=True,
|
93 |
punctuator=True
|
|
|
98 |
sample = dataset[0]["audio"]
|
99 |
|
100 |
# run inference
|
101 |
+
result = pipe(sample, chunk_length_s=15, return_timestamps=True, generate_kwargs=generate_kwargs)
|
102 |
print(result)
|
103 |
```
|
104 |
|