mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-11 22:28:31 +00:00
fix(rapidocr): use correct parameter name for rec_keys_path (#2762)
* fix(rapidocr): use correct parameter name for rec_keys_path
* DCO Remediation Commit for 0xFrama <ediscepolo@protonmail.com> I, 0xFrama <ediscepolo@protonmail.com>, hereby add my Signed-off-by to this commit: 1c9cd2a3ba
Signed-off-by: 0xFrama <ediscepolo@protonmail.com>
---------
Signed-off-by: 0xFrama <ediscepolo@protonmail.com>
This commit is contained in:
@@ -196,7 +196,7 @@ class RapidOcrModel(BaseOcrModel):
|
|||||||
# Recognition model settings
|
# Recognition model settings
|
||||||
"Rec.model_path": rec_model_path,
|
"Rec.model_path": rec_model_path,
|
||||||
"Rec.font_path": self.options.rec_font_path,
|
"Rec.font_path": self.options.rec_font_path,
|
||||||
"Rec.keys_path": rec_keys_path,
|
"Rec.rec_keys_path": rec_keys_path,
|
||||||
"Rec.use_cuda": use_cuda,
|
"Rec.use_cuda": use_cuda,
|
||||||
"Rec.use_dml": use_dml,
|
"Rec.use_dml": use_dml,
|
||||||
"Rec.intra_op_num_threads": intra_op_num_threads,
|
"Rec.intra_op_num_threads": intra_op_num_threads,
|
||||||
|
|||||||
Reference in New Issue
Block a user