remove unused import (#2679)

### What problem does this PR solve?

### Type of change

- [x] Refactoring
This commit is contained in:
yqkcn
2024-09-30 16:59:39 +08:00
committed by GitHub
parent ae5a877ed4
commit 570ad420a8
7 changed files with 10 additions and 18 deletions

View File

@ -10,7 +10,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
import copy
from tika import parser
import re
from io import BytesIO
@ -18,8 +17,8 @@ from docx import Document
from api.db import ParserType
from deepdoc.parser.utils import get_text
from rag.nlp import bullets_category, is_english, tokenize, remove_contents_table, hierarchical_merge, \
make_colon_as_title, add_positions, tokenize_chunks, find_codec, docx_question_level
from rag.nlp import bullets_category, remove_contents_table, hierarchical_merge, \
make_colon_as_title, tokenize_chunks, docx_question_level
from rag.nlp import rag_tokenizer
from deepdoc.parser import PdfParser, DocxParser, PlainParser, HtmlParser
from rag.settings import cron_logger