"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "038fc48ac0dd50e0ec5483809e15b316e8806e12"
Unverified Commit 29f11deb authored by shenggan's avatar shenggan Committed by GitHub
Browse files

fix when hit.sum_probs is none (#137)

parent a14f6962
......@@ -866,6 +866,9 @@ def _process_single_hit(
kalign_binary_path=kalign_binary_path,
_zero_center_positions=_zero_center_positions,
)
if hit.sum_probs is None:
features['template_sum_probs'] = [0]
else:
features["template_sum_probs"] = [hit.sum_probs]
# It is possible there were some errors when parsing the other chains in the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment