Update app.py
Browse files
app.py
CHANGED
|
@@ -343,13 +343,13 @@ def _save_record_and_progress(
|
|
| 343 |
"name": name if SAVE_PII else None,
|
| 344 |
"email": email if SAVE_PII else None,
|
| 345 |
"sample_id": sample.sample_id,
|
| 346 |
-
"image_paths": {
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
},
|
| 353 |
# Save raw scores (1-10) and the ranking
|
| 354 |
"raw_scores": {
|
| 355 |
"image_1": score_1,
|
|
@@ -359,7 +359,7 @@ def _save_record_and_progress(
|
|
| 359 |
"image_5": score_5,
|
| 360 |
},
|
| 361 |
"responses": {
|
| 362 |
-
"image_ranking": rank_dict, # Format: {"image_1": 1, "image_2": 4, ...}
|
| 363 |
"notes": q1_notes or "",
|
| 364 |
},
|
| 365 |
}
|
|
|
|
| 343 |
"name": name if SAVE_PII else None,
|
| 344 |
"email": email if SAVE_PII else None,
|
| 345 |
"sample_id": sample.sample_id,
|
| 346 |
+
# "image_paths": {
|
| 347 |
+
# "masked_gt": sample.masked_gt_path,
|
| 348 |
+
# "unmasked_gt": sample.unmasked_gt_path,
|
| 349 |
+
# "sr": sample.sr_path,
|
| 350 |
+
# "original": sample.original_path,
|
| 351 |
+
# "image_5": sample.image_5_path,
|
| 352 |
+
# },
|
| 353 |
# Save raw scores (1-10) and the ranking
|
| 354 |
"raw_scores": {
|
| 355 |
"image_1": score_1,
|
|
|
|
| 359 |
"image_5": score_5,
|
| 360 |
},
|
| 361 |
"responses": {
|
| 362 |
+
# "image_ranking": rank_dict, # Format: {"image_1": 1, "image_2": 4, ...}
|
| 363 |
"notes": q1_notes or "",
|
| 364 |
},
|
| 365 |
}
|