Update README.md
Browse files
README.md
CHANGED
|
@@ -209,7 +209,7 @@ Whisper predicts the language of the source audio automatically. If the source a
|
|
| 209 |
can be passed as an argument to the pipeline:
|
| 210 |
|
| 211 |
```python
|
| 212 |
-
result = pipe(sample, generate_kwargs={"language": "
|
| 213 |
```
|
| 214 |
|
| 215 |
By default, Whisper performs the task of *speech transcription*, where the source audio language is the same as the target
|
|
|
|
| 209 |
can be passed as an argument to the pipeline:
|
| 210 |
|
| 211 |
```python
|
| 212 |
+
result = pipe(sample, generate_kwargs={"language": "spanish"})
|
| 213 |
```
|
| 214 |
|
| 215 |
By default, Whisper performs the task of *speech transcription*, where the source audio language is the same as the target
|