Browse Source

Fix import order

pull/1310/head
Hironsan 3 years ago
parent
commit
9e7dc2c2ea
2 changed files with 2 additions and 2 deletions
  1. 2
      app/api/views/upload/catalog.py
  2. 2
      app/api/views/upload/dataset.py

2
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:

2
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

Loading…
Cancel
Save