Add an `empty-answer' error type and remove images in this case.

This commit is contained in:
2026-02-27 12:10:56 +01:00
parent b0d20eb653
commit fb74b587e6
3 changed files with 14 additions and 4 deletions
+2
View File
@@ -252,6 +252,8 @@ def apply_actions_and_regenerate(root_dir, data, student_id, actions, notes_laye
base_img, label, content['result'], content['coordinates'][0],
with_error=False
)
if final_img==None:
continue
# Overlay manual notes
if has_notes: