Commit 7810cbcb authored by aserge16's avatar aserge16
Browse files

minor error fix with saving

parent 2326dac3
......@@ -136,7 +136,7 @@ class PredictionPage(tk.Frame):
def save_all(self):
file_name = self.processing_file.get().split()[2]
with open(ARGS.resources_path + "predictions/pred_" + file_name, "w") as fh:
with open(ARGS.resources_path + "predictions/pred_" + file_name + ".txt", "w") as fh:
for ent in self.ent_predictions:
fh.write("\n\nENTITY - " + ent + "\n")
for pred in self.ent_predictions[ent]:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment