• ARKA1112's avatar
    Modify pipeline_tutorial.mdx (#22726) · d87ef00c
    ARKA1112 authored
    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)
    d87ef00c
pipeline_tutorial.mdx 13.4 KB