Skip to content

Commit c1d6245

Browse files
committed
Compatible with LangChain 1.2.0
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 56dfc96 commit c1d6245

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DocSum/docsum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def video2audio(
118118

119119
def read_text_from_file(file, save_file_name):
120120
import docx2txt
121-
from langchain.text_splitter import CharacterTextSplitter
121+
from langchain_text_splitters import CharacterTextSplitter
122122

123123
# read text file
124124
if file.headers["content-type"] == "text/plain":

0 commit comments

Comments
 (0)