yangheng commited on
Commit
9ae14c1
·
1 Parent(s): 969e53b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -36,9 +36,10 @@ if __name__ == '__main__':
36
  fn=inference,
37
  inputs=["text"],
38
  examples=[
 
39
  ['I have had my [ASP]computer[ASP] for 2 weeks already and it [ASP]works[ASP] perfectly . !sent! Positive, Positive'],
40
  ['Strong build though which really adds to its [ASP]durability[ASP] .'], # !sent! Positive
41
- ['Use [ASP] aspect [ASP] to wrap target aspects. And you can use "!sent!" to tell model the true sentiment'],
42
  ['This demo is trained on the laptop and restaurant and other review datasets from [ASP]ABSADatasets[ASP] (https://github.com/yangheng95/ABSADatasets)'],
43
  ['To fit on your data, please train the model on your own data, see the [ASP]PyABSA[ASP] (https://github.com/yangheng95/PyABSA)'],
44
  ],
 
36
  fn=inference,
37
  inputs=["text"],
38
  examples=[
39
+ ['对于茶的了解我只知道中国有个茶圣唐朝的陆羽,至于茶道茶文化知之甚少。听了朱老师的[ASP]讲解[ASP]受益匪浅,朱老师的[ASP]讲解形式[ASP]唯美听之让人陶醉真正做到了寓教于乐。我喜欢这种[ASP]授课方式[ASP]'],
40
  ['I have had my [ASP]computer[ASP] for 2 weeks already and it [ASP]works[ASP] perfectly . !sent! Positive, Positive'],
41
  ['Strong build though which really adds to its [ASP]durability[ASP] .'], # !sent! Positive
42
+ ['Use [ASP] aspect [ASP] to wrap target aspects. And you can use "!sent!" to tell the model the true sentiment'],
43
  ['This demo is trained on the laptop and restaurant and other review datasets from [ASP]ABSADatasets[ASP] (https://github.com/yangheng95/ABSADatasets)'],
44
  ['To fit on your data, please train the model on your own data, see the [ASP]PyABSA[ASP] (https://github.com/yangheng95/PyABSA)'],
45
  ],