bisoye commited on
Commit
b86b986
1 Parent(s): b3e9e6d

Update summarizer.py

Browse files
Files changed (1) hide show
  1. summarizer.py +3 -1
summarizer.py CHANGED
@@ -5,7 +5,9 @@ from langchain.chains.summarize import load_summarize_chain
5
  from pathlib import Path
6
 
7
 
8
- def summarize_file(method, file):
 
 
9
  # Initialize the LLM
10
  llm = Cohere(temperature=0)
11
 
 
5
  from pathlib import Path
6
 
7
 
8
+ def summarize_file(method, files):
9
+
10
+ file = files[0]
11
  # Initialize the LLM
12
  llm = Cohere(temperature=0)
13