a correction for text2segmentation.py (#407)

This commit is contained in:
Mingshuang Luo 2022-06-08 12:06:57 +08:00 committed by GitHub
parent 1094a3cb37
commit 5079d99ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,8 +61,8 @@ def main():
parser = get_parser() parser = get_parser()
args = parser.parse_args() args = parser.parse_args()
input_file = args.input input_file = args.input_file
output_file = args.output output_file = args.output_file
f = open(input_file, "r", encoding="utf-8") f = open(input_file, "r", encoding="utf-8")
lines = f.readlines() lines = f.readlines()