- towhee.engine.factory.pipeline(pipeline_src: str, tag: str = 'main', install_reqs: bool = True, **kwargs)¶
Entry method which takes either an input task or path to an operator YAML.
A Pipeline object is created (based on said task) and subsequently added to the existing Engine.
pipeline_src (str) – Pipeline name or YAML file location to use.
tag (str, optional) – Which tag to use for operators/pipelines on hub. Defaults to ‘main’.
install_reqs (bool, optional) – Whether to download the python packages if a requirements.txt file is included in the repo.. Defaults to True.
The Pipeline output.
- Return type: