forked from AI_team/Philosophy-RAG-demo
Make the --pdf-data argument optional
This commit is contained in:
parent
506857deeb
commit
d37012f780
@ -28,8 +28,8 @@ parser.add_argument(
|
|||||||
"-p",
|
"-p",
|
||||||
"--pdf-data",
|
"--pdf-data",
|
||||||
type=Path,
|
type=Path,
|
||||||
required=True,
|
|
||||||
nargs="+",
|
nargs="+",
|
||||||
|
default=[],
|
||||||
help="One or multiple paths to folders or files to use for retrieval. "
|
help="One or multiple paths to folders or files to use for retrieval. "
|
||||||
"If a path is a folder, all files in the folder will be used. "
|
"If a path is a folder, all files in the folder will be used. "
|
||||||
"If a path is a file, only that file will be used. "
|
"If a path is a file, only that file will be used. "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user