ChristophSchuhmann commited on
Commit
3f90ace
·
verified ·
1 Parent(s): ae77cd8

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -1
pipeline.py CHANGED
@@ -268,7 +268,8 @@ def _run_ast_batch(
268
  for idx, conf in zip(i_row, v_row)
269
  ]
270
  topk_per_file.append(labels_with_conf)
271
- routes.append(route_label(labels_with_conf[0][0]))
 
272
  return topk_per_file, routes
273
 
274
 
 
268
  for idx, conf in zip(i_row, v_row)
269
  ]
270
  topk_per_file.append(labels_with_conf)
271
+ top_label, top_conf = labels_with_conf[0]
272
+ routes.append(route_label(top_label, top_conf))
273
  return topk_per_file, routes
274
 
275