Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from typing import TypedDict
|
|
5 |
from abc import ABC, abstractmethod
|
6 |
from typing import Any, Dict, Type
|
7 |
from scipy.sparse._csc import csc_matrix
|
8 |
-
from typing import Iterable, Callable, List, Dict, Optional, Type, TypeVar
|
9 |
import pickle
|
10 |
from dataclasses import dataclass
|
11 |
import tqdm
|
@@ -18,6 +18,7 @@ import math
|
|
18 |
from dataclasses import dataclass
|
19 |
from typing import Optional
|
20 |
from datasets import load_dataset
|
|
|
21 |
|
22 |
@dataclass
|
23 |
class Document:
|
|
|
5 |
from abc import ABC, abstractmethod
|
6 |
from typing import Any, Dict, Type
|
7 |
from scipy.sparse._csc import csc_matrix
|
8 |
+
from typing import Iterable, Callable, List, Dict, Optional, Type, TypeVar, Enum
|
9 |
import pickle
|
10 |
from dataclasses import dataclass
|
11 |
import tqdm
|
|
|
18 |
from dataclasses import dataclass
|
19 |
from typing import Optional
|
20 |
from datasets import load_dataset
|
21 |
+
from enum import Enum
|
22 |
|
23 |
@dataclass
|
24 |
class Document:
|