Skip to content

Commit

Permalink
filepaths as lists
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-science committed Feb 4, 2024
1 parent 1c4802e commit dd40d0a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ def run(
please provide an explicit list of direct paths instead."""
raise ValueError(error)

all_filepaths = filepaths.union(filepaths_in_directories)

all_filepaths = filepaths + filepaths_in_directories
# currently, the files are converted sequentially to gently handle API failures
documents = []
meta_list = normalize_metadata(meta, sources_count=len(all_filepaths))
Expand Down

0 comments on commit dd40d0a

Please sign in to comment.