mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
rename get_txt to get_text (#2649)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
from rag.nlp import find_codec
|
||||
|
||||
|
||||
def get_txt(fnm: str, binary=None) -> str:
|
||||
def get_text(fnm: str, binary=None) -> str:
|
||||
txt = ""
|
||||
if binary:
|
||||
encoding = find_codec(binary)
|
||||
|
||||
Reference in New Issue
Block a user