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",
|
||||
"--pdf-data",
|
||||
type=Path,
|
||||
required=True,
|
||||
nargs="+",
|
||||
default=[],
|
||||
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 file, only that file will be used. "
|
||||
|
||||
Loading…
Reference in New Issue
Block a user