lllchenlll commited on
Commit
3eb61be
1 Parent(s): 5951cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def process(api, caption, category, asr, ocr):
62
  for i in range(scores.shape[0]):
63
  for j in range(scores.shape[1]):
64
  score = scores[i][j] / (candidate_tags_dis[i] * tags_dis[j])
65
- if score > 0.95:
66
  final_ans.append(all_tags[j])
67
 
68
  print(final_ans)
 
62
  for i in range(scores.shape[0]):
63
  for j in range(scores.shape[1]):
64
  score = scores[i][j] / (candidate_tags_dis[i] * tags_dis[j])
65
+ if score > 0.9:
66
  final_ans.append(all_tags[j])
67
 
68
  print(final_ans)