Fix argument parsing bug (#43)
text_threshold was wrongly set by args.box_threshold
This commit is contained in:
@@ -143,7 +143,7 @@ if __name__ == "__main__":
|
||||
text_prompt = args.text_prompt
|
||||
output_dir = args.output_dir
|
||||
box_threshold = args.box_threshold
|
||||
text_threshold = args.box_threshold
|
||||
text_threshold = args.text_threshold
|
||||
|
||||
# make dir
|
||||
os.makedirs(output_dir, exist_ok=True)
|
||||
|
Reference in New Issue
Block a user