diff --git a/headline/run.py b/headline/run.py index d2cfb8f..9010104 100644 --- a/headline/run.py +++ b/headline/run.py @@ -84,7 +84,7 @@ def generate_headline(args, clusters): args = parser.parse_args() - clusters = json.load(open(os.path.join(args.output_dir, "output_clusters.json"))) + clusters = json.load(open(os.path.join(args.input_dir, "output_clusters.json"))) clusters = generate_headline(args, clusters) json.dump(clusters, open(os.path.join(args.output_dir, "output_headline.json"), "w"), indent=4) \ No newline at end of file