diff --git a/app/api/views/upload/catalog.py b/app/api/views/upload/catalog.py index dbff9e40..7a97e9af 100644 --- a/app/api/views/upload/catalog.py +++ b/app/api/views/upload/catalog.py @@ -4,8 +4,8 @@ from typing import Dict, List, Type from pydantic import BaseModel from typing_extensions import Literal -from . import examples from ...models import DOCUMENT_CLASSIFICATION, SEQ2SEQ, SEQUENCE_LABELING +from . import examples class Format: diff --git a/app/api/views/upload/dataset.py b/app/api/views/upload/dataset.py index 4cf75207..45870e3e 100644 --- a/app/api/views/upload/dataset.py +++ b/app/api/views/upload/dataset.py @@ -3,7 +3,7 @@ import json from typing import Dict, Iterator, List, Optional, Type import pyexcel -from seqeval.scheme import IOB2, IOE2, IOBES, BILOU, Tokens +from seqeval.scheme import BILOU, IOB2, IOBES, IOE2, Tokens from .data import BaseData from .exception import FileParseException