mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
chore: autoformat
DCO Remediation Commit for Georg Heiler <georg.kf.heiler@gmail.com> I, Georg Heiler <georg.kf.heiler@gmail.com>, hereby add my Signed-off-by to this commit: 5815c8f81b0e5ce400332597b6795e5a97ecf775
This commit is contained in:
@@ -60,19 +60,16 @@ class RapidOcrModel(BaseOcrModel):
|
|||||||
# Global settings (these are still correct)
|
# Global settings (these are still correct)
|
||||||
"Global.text_score": self.options.text_score,
|
"Global.text_score": self.options.text_score,
|
||||||
# "Global.verbose": self.options.print_verbose,
|
# "Global.verbose": self.options.print_verbose,
|
||||||
|
|
||||||
# Detection model settings
|
# Detection model settings
|
||||||
"Det.model_path": self.options.det_model_path,
|
"Det.model_path": self.options.det_model_path,
|
||||||
"Det.use_cuda": use_cuda,
|
"Det.use_cuda": use_cuda,
|
||||||
"Det.use_dml": use_dml,
|
"Det.use_dml": use_dml,
|
||||||
"Det.intra_op_num_threads": intra_op_num_threads,
|
"Det.intra_op_num_threads": intra_op_num_threads,
|
||||||
|
|
||||||
# Classification model settings
|
# Classification model settings
|
||||||
"Cls.model_path": self.options.cls_model_path,
|
"Cls.model_path": self.options.cls_model_path,
|
||||||
"Cls.use_cuda": use_cuda,
|
"Cls.use_cuda": use_cuda,
|
||||||
"Cls.use_dml": use_dml,
|
"Cls.use_dml": use_dml,
|
||||||
"Cls.intra_op_num_threads": intra_op_num_threads,
|
"Cls.intra_op_num_threads": intra_op_num_threads,
|
||||||
|
|
||||||
# Recognition model settings
|
# Recognition model settings
|
||||||
"Rec.model_path": self.options.rec_model_path,
|
"Rec.model_path": self.options.rec_model_path,
|
||||||
"Rec.keys_path": self.options.rec_keys_path,
|
"Rec.keys_path": self.options.rec_keys_path,
|
||||||
|
|||||||
Reference in New Issue
Block a user