chunker different methods
This commit is contained in:
@@ -36,7 +36,8 @@ def retrieve_file_contents(path):
|
||||
|
||||
contents = []
|
||||
|
||||
for file in files:
|
||||
print("parsing files...")
|
||||
for file in tqdm(files):
|
||||
content = file_extraction_functions[file[0]](file[1])
|
||||
with open(f"./{file[2]}.txt", "w", encoding="UTF-8") as future_s3_file:
|
||||
future_s3_file.writelines(file[1] + "\n" + content)
|
||||
|
||||
Reference in New Issue
Block a user