washeed commited on
Commit
feb1603
1 Parent(s): 139b8fc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -48,4 +48,10 @@ pipe = pipeline(
48
  result = pipe("audio.mp3")
49
  print(result["text"])
50
  ```
51
-
 
 
 
 
 
 
 
48
  result = pipe("audio.mp3")
49
  print(result["text"])
50
  ```
51
+
52
+ # if you want to transcribe instead of translating just replace the :
53
+
54
+ ```result = pipe("audio.mp3")```
55
+ # with
56
+ ``` result = pipe("inference.mp3", generate_kwargs={"task": "transcribe"})```
57
+