sundea commited on
Commit
1015b9c
·
1 Parent(s): a745fd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ import torch
9
  import pickle as pkl
10
  from utils import build_dataset
11
 
12
- classes = ['finance', 'realty', 'stocks', 'education', 'science', 'society', 'politics', 'sports', 'game',
13
- 'entertainment']
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符号