MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / print_separator

Function print_separator

fastdeploy/entrypoints/cli/tokenizer.py:189–195  ·  view source on GitHub ↗
(title="")

Source from the content-addressed store, hash-verified

187def main(args: argparse.Namespace) -> None:
188
189 def print_separator(title=""):
190 if title:
191 print(f"\n{'='*50}")
192 print(f" {title}")
193 print(f"{'='*50}")
194 else:
195 print(f"\n{'='*50}")
196
197 # 检查参数
198 if not any([args.encode, args.decode, args.vocab_size, args.info, args.vocab_export]):

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected