Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
affan00733 committed May 25, 2023
1 parent da5d1df commit 8ecc5b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eva/third_party/huggingface/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ def infer_output_name_and_type(**pipeline_args):
output_types = {}
if isinstance(model_output, list) and model_output != []:
sample_out = model_output[0]
elif model_output == []:
# sample_out={"entity":"","score":0,'index':0, 'end':0, 'word':0, 'start':0}
pass
else:
sample_out = model_output

Expand Down

0 comments on commit 8ecc5b4

Please sign in to comment.