Skip to content

Commit 3c64a35

Browse files
committed
Update pyrecdp UrlLoader args for newer version
1 parent d84ae46 commit 3c64a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inference/start_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def regenerate(self, db_dir, web_urls, data_pdfs, embedding_model, splitter_chun
279279
pipeline = TextPipeline()
280280
ops = []
281281
if len(target_urls) > 0:
282-
ops.append(UrlLoader(urls=target_urls, target_tag='div', target_attrs={'class': 'main-content'}))
282+
ops.append(UrlLoader(urls=target_urls))
283283
if len(pdf_folder) > 0:
284284
ops.append(DirectoryLoader(input_files=pdf_folder))
285285
ops.extend([

0 commit comments

Comments
 (0)