Skip to content

Commit fdaef0e

Browse files
Update graphgen/graphgen.py
Co-authored-by: Copilot <[email protected]>
1 parent d439262 commit fdaef0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphgen/graphgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def async_split_chunks(self, data: List[Union[List, Dict]]) -> dict:
146146
"content": txt,
147147
"full_doc_id": doc_key,
148148
"length": len(self.tokenizer_instance.encode_string(txt)),
149-
"language": "en",
149+
"language": doc_language,
150150
}
151151
for txt in text_chunks
152152
}

0 commit comments

Comments
 (0)