mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-06 06:10:04 +06:00
![]() generator(model="openai/whisper-large") always returns error. As the error says the generator expects an input, just like the .flac file above. Even the generator object has no parameters called model. While there are parameters which can be passed to generator like 'batch_size' but to pass a model i believe the the parameter has to be passed while instantiating the pipeline and not as a parameter to the instance. I believe the correct term should be: generator = pipeline(model="openai/whisper-large", device=0) |
||
---|---|---|
.. | ||
de | ||
en | ||
es | ||
fr | ||
it | ||
ja | ||
ko | ||
pt | ||
zh | ||
_config.py |