Update README.md
Browse files
README.md
CHANGED
@@ -53,7 +53,14 @@ pipe = pipeline(
|
|
53 |
chunk_length_s=30,
|
54 |
)
|
55 |
|
56 |
-
pipe("audio.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
```
|
58 |
|
59 |
## Training and evaluation data
|
|
|
53 |
chunk_length_s=30,
|
54 |
)
|
55 |
|
56 |
+
result = pipe("audio.wav",
|
57 |
+
generate_kwargs={
|
58 |
+
"language":"<|km|>",
|
59 |
+
"task":"transcribe"},
|
60 |
+
batch_size=16
|
61 |
+
)
|
62 |
+
|
63 |
+
print(result["text"])
|
64 |
```
|
65 |
|
66 |
## Training and evaluation data
|