(text: str)
| 326 | text = [text] |
| 327 | |
| 328 | def process(text: str): |
| 329 | if clean_caption: |
| 330 | text = clean_caption(text) |
| 331 | text = clean_caption(text) |
| 332 | else: |
| 333 | text = text.lower().strip() |
| 334 | return text |
| 335 | |
| 336 | return [process(t) for t in text] |
| 337 |
no test coverage detected