paragon-analytics commited on
Commit
0e1a661
1 Parent(s): c78f4ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,12 +30,12 @@ classifier = transformers.pipeline("text-classification", model = "cross-encoder
30
  def med_score(x):
31
  label = x['label']
32
  score_1 = x['score']
33
- return score_1
34
 
35
  def sym_score(x):
36
  label2sym= x['label']
37
  score_1sym = x['score']
38
- return score_1sym
39
 
40
  ##
41
 
 
30
  def med_score(x):
31
  label = x['label']
32
  score_1 = x['score']
33
+ return round(score_1,3)
34
 
35
  def sym_score(x):
36
  label2sym= x['label']
37
  score_1sym = x['score']
38
+ return round(score_1sym,3)
39
 
40
  ##
41