freemt commited on
Commit
1ea52e2
·
1 Parent(s): 3271c4c

Update cmat = vec2.dot(vec1.T)

Browse files
Files changed (1) hide show
  1. radiobee/gradiobee.py +2 -1
radiobee/gradiobee.py CHANGED
@@ -212,7 +212,8 @@ def gradiobee(
212
  try:
213
  vec1 = model_s.encode(list1)
214
  vec2 = model_s.encode(list2)
215
- cmat = vec1.dot(vec2.T)
 
216
  except Exception as exc:
217
  logger.error(exc)
218
  return error_msg(f"{exc}, {__file__} {inspect.currentframe().f_lineno}, period")
 
212
  try:
213
  vec1 = model_s.encode(list1)
214
  vec2 = model_s.encode(list2)
215
+ # cmat = vec1.dot(vec2.T)
216
+ cmat = vec2.dot(vec1.T)
217
  except Exception as exc:
218
  logger.error(exc)
219
  return error_msg(f"{exc}, {__file__} {inspect.currentframe().f_lineno}, period")