ragflow/deepdoc/vision
giiiiiithub 6ba5a4348a
set PARALLEL_DEVICES default value= 0 (#7935)
### What problem does this PR solve?


it would be fail if PARALLEL_DEVICES = None in OCR class , because it
pass 0 to TextDetector and TextRecognizer init method.

and It would be simpler to set 0 as the default value for
PARALLEL_DEVICES.

### Type of change

- [x] Refactoring
2025-05-29 13:32:16 +08:00
..
__init__.py Made task_executor async to speedup parsing (#5530) 2025-03-03 18:59:49 +08:00
layout_recognizer.py Fix: assistant deleteion issue. (#6906) 2025-04-09 20:29:40 +08:00
ocr.py set PARALLEL_DEVICES default value= 0 (#7935) 2025-05-29 13:32:16 +08:00
operators.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
postprocess.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
recognizer.py Feat: Improve Recognizer.py performance (#6185) 2025-03-18 09:39:49 +08:00
seeit.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
t_ocr.py Refa: PARALLEL_DEVICES is a static parameter. (#6168) 2025-03-17 16:49:54 +08:00
t_recognizer.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
table_structure_recognizer.py Fix: abnormal cell mergeing. (#6991) 2025-04-14 11:00:11 +08:00