dh-mc commited on
Commit
d380674
1 Parent(s): ee3a625

Update summarize.py

Browse files
Files changed (1) hide show
  1. summarize.py +2 -2
summarize.py CHANGED
@@ -41,8 +41,8 @@ llm_loader = app_init(False)[0]
41
  source_pdfs_path = (
42
  sys.argv[1] if len(sys.argv) > 1 else os.environ.get("SOURCE_PDFS_PATH")
43
  )
44
- chunk_size = os.environ.get("CHUNCK_SIZE")
45
- chunk_overlap = os.environ.get("CHUNK_OVERLAP")
46
 
47
  sources = load_documents(source_pdfs_path, None)
48
 
 
41
  source_pdfs_path = (
42
  sys.argv[1] if len(sys.argv) > 1 else os.environ.get("SOURCE_PDFS_PATH")
43
  )
44
+ chunk_size = sys.argv[2] if len(sys.argv) > 2 else os.environ.get("CHUNCK_SIZE")
45
+ chunk_overlap = sys.argv[3] if len(sys.argv) > 3 else os.environ.get("CHUNK_OVERLAP")
46
 
47
  sources = load_documents(source_pdfs_path, None)
48