mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
fix: correct attribute name typo model_speciess to model_species (#13929)
## Summary - Rename misspelled attribute `model_speciess` to `model_species` across 4 files - The extra `s` is a typo — `species` is already plural ## Test plan - [ ] Verify PDF parsing with laws/manual/paper parser types still works correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: yuj <yuj@ztjzsoft.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -77,8 +77,8 @@ class RAGFlowPdfParser:
|
||||
if layout_recognizer_type not in ["onnx", "ascend"]:
|
||||
raise RuntimeError("Unsupported layout recognizer type.")
|
||||
|
||||
if hasattr(self, "model_speciess"):
|
||||
recognizer_domain = "layout." + self.model_speciess
|
||||
if hasattr(self, "model_species"):
|
||||
recognizer_domain = "layout." + self.model_species
|
||||
else:
|
||||
recognizer_domain = "layout"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user