If you have several inputs, you can pass your input as a list: | |
py | |
transcriber( | |
[ | |
"https://huggingface.co/datasets/Narsil/asr_dummy/resolve/main/mlk.flac", | |
"https://huggingface.co/datasets/Narsil/asr_dummy/resolve/main/1.flac", | |
] | |
) | |
Pipelines are great for experimentation as switching from one model to another is trivial; however, there are some ways to optimize them for larger workloads than experimentation. |