Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ import torch
|
|
| 9 |
import pickle as pkl
|
| 10 |
from utils import build_dataset
|
| 11 |
|
| 12 |
-
classes = ['
|
| 13 |
-
'
|
| 14 |
|
| 15 |
MAX_VOCAB_SIZE = 10000 # 词表长度限制
|
| 16 |
UNK, PAD = '<UNK>', '<PAD>' # 未知字,padding符号
|
|
|
|
| 9 |
import pickle as pkl
|
| 10 |
from utils import build_dataset
|
| 11 |
|
| 12 |
+
classes = ['金融类', '房地产类', '股票类', '教育类', '科技类', '社会类', '政治类', '体育类', '游戏类',
|
| 13 |
+
'娱乐类']
|
| 14 |
|
| 15 |
MAX_VOCAB_SIZE = 10000 # 词表长度限制
|
| 16 |
UNK, PAD = '<UNK>', '<PAD>' # 未知字,padding符号
|