borakol commited on
Commit
67ea703
·
verified ·
1 Parent(s): 1eca2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -20,10 +20,7 @@ def detect_dead_pixels(image,dead_threshold = 10):
20
 
21
  dead_ratio = (dead_count / total_pixels) * 100
22
 
23
- stats = (
24
- f"Dead Pixels: {dead_count}\n",
25
- f"Dead Pixel Ratio (%): {round(dead_ratio,3)}",
26
- )
27
 
28
  return output,stats
29
 
 
20
 
21
  dead_ratio = (dead_count / total_pixels) * 100
22
 
23
+ stats = f"🟥 Dead Pixels: {dead_count} ({dead_ratio:.4f}%)"
 
 
 
24
 
25
  return output,stats
26