set DLA active for KG (#3386)

### What problem does this PR solve?

### Type of change


- [x] Refactoring
This commit is contained in:
Kevin Hu
2024-11-13 16:59:19 +08:00
committed by GitHub
parent 7ab9715b0e
commit 83c6b1f308
2 changed files with 3 additions and 3 deletions

View File

@ -537,7 +537,7 @@ def parse():
options.add_argument('--disable-dev-shm-usage')
driver = Chrome(options=options)
driver.get(url)
sections = RAGFlowHtmlParser()(driver.page_source)
sections = RAGFlowHtmlParser()("", binary=driver.page_source)
return get_json_result(data="\n".join(sections))
if 'file' not in request.files: