cccc commited on
Commit
1aa2e97
·
1 Parent(s): b9180e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -29,13 +29,10 @@ def sentiment_analysis(sentence, model_name):
29
  "negative": negative,
30
  }
31
  type_dic = {
32
- "CCCC/ARCH_tuned_bert":"bert",
33
- "bert-base-uncased":"bert",
34
- "roberta-base":"roberta",
35
- "ARCH_Tuned_RoBERTa":"roberta",
36
- "FNCH_Tuned_RoBERTa":"roberta",
37
- "AREN_Tuned_RoBERTa":"roberta",
38
- "FNEN_Tuned_RoBERTa":"roberta",
39
  }
40
  testdata = []
41
  for i,sentence in enumerate(sentences):
 
29
  "negative": negative,
30
  }
31
  type_dic = {
32
+ "CCCC/ARCH_Tuned_RoBERTa":"roberta",
33
+ "CCCC/FNCH_Tuned_RoBERTa":"roberta",
34
+ "CCCC/AREN_Tuned_RoBERTa":"roberta",
35
+ "CCCC/FNEN_Tuned_RoBERTa":"roberta",
 
 
 
36
  }
37
  testdata = []
38
  for i,sentence in enumerate(sentences):