Update README.md
Browse files
README.md
CHANGED
|
@@ -113,7 +113,7 @@ pipe = pipeline(
|
|
| 113 |
chunk_length_s=15,
|
| 114 |
batch_size=16,
|
| 115 |
trust_remote_code=True,
|
| 116 |
-
stable_ts=
|
| 117 |
punctuator=True
|
| 118 |
)
|
| 119 |
|
|
@@ -132,13 +132,13 @@ print(result)
|
|
| 132 |
+ result = pipe("audio.mp3", return_timestamps=True, generate_kwargs=generate_kwargs)
|
| 133 |
```
|
| 134 |
|
| 135 |
-
- To
|
| 136 |
```diff
|
| 137 |
-
- stable_ts=
|
| 138 |
-
+ stable_ts=
|
| 139 |
```
|
| 140 |
|
| 141 |
-
- To deactivate punctuator:
|
| 142 |
```diff
|
| 143 |
- punctuator=True,
|
| 144 |
+ punctuator=False,
|
|
|
|
| 113 |
chunk_length_s=15,
|
| 114 |
batch_size=16,
|
| 115 |
trust_remote_code=True,
|
| 116 |
+
stable_ts=False,
|
| 117 |
punctuator=True
|
| 118 |
)
|
| 119 |
|
|
|
|
| 132 |
+ result = pipe("audio.mp3", return_timestamps=True, generate_kwargs=generate_kwargs)
|
| 133 |
```
|
| 134 |
|
| 135 |
+
- As default, stable-ts is deactivated. To activate stable-ts:
|
| 136 |
```diff
|
| 137 |
+
- stable_ts=False,
|
| 138 |
+
+ stable_ts=True,
|
| 139 |
```
|
| 140 |
|
| 141 |
+
- As default, punctuator is activated. To deactivate punctuator:
|
| 142 |
```diff
|
| 143 |
- punctuator=True,
|
| 144 |
+ punctuator=False,
|