Update app.py
Browse files
app.py
CHANGED
@@ -4,12 +4,9 @@ import dataset
|
|
4 |
import engine
|
5 |
from model import BERTBaseUncased
|
6 |
from tokenizer import tokenizer
|
|
|
7 |
|
8 |
|
9 |
-
config = {
|
10 |
-
"device":
|
11 |
-
}
|
12 |
-
|
13 |
T = tokenizer.TweetTokenizer(
|
14 |
preserve_handles=True, preserve_hashes=True, preserve_case=False, preserve_url=False)
|
15 |
|
|
|
4 |
import engine
|
5 |
from model import BERTBaseUncased
|
6 |
from tokenizer import tokenizer
|
7 |
+
import config
|
8 |
|
9 |
|
|
|
|
|
|
|
|
|
10 |
T = tokenizer.TweetTokenizer(
|
11 |
preserve_handles=True, preserve_hashes=True, preserve_case=False, preserve_url=False)
|
12 |
|