Skip to content

Commit e30773e

Browse files
author
Sayan Shaw
committed
fix attribute error
1 parent ca8e347 commit e30773e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime_extensions/_hf_cvt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def post_processing(self, **kwargs):
303303
if default_inputs is None:
304304
encoder_inputs = self.cvt_quadruple.default_encoder_inputs
305305
if encoder_inputs is not None and encoder_inputs["fairseq"]:
306-
pass
306+
default_inputs = {} # need to set to empty dict to call .update later
307307
else:
308308
return g
309309

0 commit comments

Comments
 (0)