mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 11:36:38 +08:00
refactor: remove debug print statements (#12534)
### What problem does this PR solve? refactor: remove debug print statements ### Type of change - [x] Refactoring
This commit is contained in:
@ -124,18 +124,13 @@ def vision_figure_parser_pdf_wrapper(tbls, callback=None, **kwargs):
|
||||
|
||||
|
||||
def vision_figure_parser_docx_wrapper_naive(chunks, idx_lst, callback=None, **kwargs):
|
||||
|
||||
print("\n\n hello here i am \n\n")
|
||||
|
||||
if not chunks:
|
||||
return []
|
||||
try:
|
||||
vision_model = LLMBundle(kwargs["tenant_id"], LLMType.IMAGE2TEXT)
|
||||
callback(0.7, "Visual model detected. Attempting to enhance figure extraction...")
|
||||
print(" \n\n Yes vision model \n\n")
|
||||
except Exception:
|
||||
vision_model = None
|
||||
print(" \n\n No vision model \n\n")
|
||||
if vision_model:
|
||||
@timeout(30, 3)
|
||||
def worker(idx, ck):
|
||||
|
||||
Reference in New Issue
Block a user