seanghay commited on
Commit
7298065
1 Parent(s): ee8decd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -53,7 +53,14 @@ pipe = pipeline(
53
  chunk_length_s=30,
54
  )
55
 
56
- pipe("audio.mp3", generate_kwargs={"language":"<|km|>", "task":"transcribe"}, batch_size=16)["text"]
 
 
 
 
 
 
 
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