Skip to content

Commit 641cc8f

Browse files
committed
debug(cli): remove a small bug in file_path
1 parent 5623b62 commit 641cc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code_bert/cli/run_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def run_pipeline(args):
5555
if is_python_file(file_path):
5656
_run_model(file_path, fp, predictor)
5757
else:
58-
if is_python_file(file_path):
59-
_run_model(file_path, fp, predictor)
58+
if is_python_file(args.file_name):
59+
_run_model(args.file_name, fp, predictor)
6060
else:
6161
print("Bye Bye!")
6262

0 commit comments

Comments
 (0)