forouzanfallah commited on
Commit
cade9ee
·
verified ·
1 Parent(s): c4a67a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
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
- "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,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
  }