"object_detection/object_detection_tutorial.ipynb" did not exist on "60c3ed2e34efbe428ae04ab99ccebd795187c12f"
Unverified Commit f0a8886c authored by icecraft's avatar icecraft Committed by GitHub
Browse files

fix: remove the default value of output option in tools/cli.py and tools/cli_dev.py (#494)


Co-authored-by: default avataricecraft <xurui1@pjlab.org.cn>
parent bab19e78
......@@ -31,7 +31,6 @@ from magic_pdf.tools.common import do_parse, parse_pdf_methods
type=click.Path(),
required=True,
help='output local directory',
default='',
)
@click.option(
'-m',
......@@ -46,11 +45,12 @@ without method specified, auto will be used by default.""",
default='auto',
)
@click.option(
"-d",
"--debug",
"debug_able",
'-d',
'--debug',
'debug_able',
type=bool,
help="Enables detailed debugging information during the execution of the CLI commands.",
help=('Enables detailed debugging information during'
'the execution of the CLI commands.', ),
default=False,
)
def cli(path, output_dir, method, debug_able):
......
......@@ -64,7 +64,6 @@ def cli():
type=click.Path(),
required=True,
help='输出到本地目录',
default='',
)
def jsonl(jsonl, method, output_dir):
model_config.__use_inside_model__ = False
......@@ -114,8 +113,7 @@ def jsonl(jsonl, method, output_dir):
'output_dir',
type=click.Path(),
required=True,
help='本地输出目录',
default='')
help='本地输出目录')
@click.option(
'-m',
'--method',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment