ooki0626 commited on
Commit
49f94a5
·
verified ·
1 Parent(s): a5f333a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -291,10 +291,6 @@ def analyze(img: Image.Image) -> Dict[str, Any]:
291
  "label":label,
292
  "overall_fake_probability":round(overall_fake,4),
293
  "faces_detected":len(per_face_results),
294
- "per_face_results":per_face_results,
295
- "full_image_result":full_pred,
296
- "quality_overall":{"level":q_level,**q_metrics},
297
- "thresholds":{"fake":th_fake,"uncertain":th_unc}
298
  }
299
 
300
  def visualize_faces(img: Image.Image):
 
291
  "label":label,
292
  "overall_fake_probability":round(overall_fake,4),
293
  "faces_detected":len(per_face_results),
 
 
 
 
294
  }
295
 
296
  def visualize_faces(img: Image.Image):