MCPcopy Create free account
hub / github.com/modelscope/modelscope / execute

Method execute

modelscope/cli/pipeline.py:118–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 logger.info('Open the file < %s >, update and run it.' % save_pkl_path)
117
118 def execute(self):
119 if self.args.action == 'create':
120 self.create_template()
121 else:
122 raise ValueError('The parameter of action must be in [create]')

Callers

nothing calls this directly

Calls 1

create_templateMethod · 0.95

Tested by

no test coverage detected