fecia commited on
Commit
08879e2
·
verified ·
1 Parent(s): ad75092

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ def assess_quality_and_update_ui(image_pil, pos_input, neg_input):
198
  rows = ""
199
  for crit, d in details.items():
200
  total += 1
201
- if d['comp']=="PASS': passed+=1
202
  c_style = "color:#22c55e;font-weight:bold;" if d['comp']=="PASS" else "color:#ef4444;font-weight:bold;"
203
  s_style = "color:#22c55e;font-weight:bold;" if d['simp']=="PASS" else "color:#ef4444;font-weight:bold;"
204
  rows += (
 
198
  rows = ""
199
  for crit, d in details.items():
200
  total += 1
201
+ if d['comp']=="PASS": passed+=1
202
  c_style = "color:#22c55e;font-weight:bold;" if d['comp']=="PASS" else "color:#ef4444;font-weight:bold;"
203
  s_style = "color:#22c55e;font-weight:bold;" if d['simp']=="PASS" else "color:#ef4444;font-weight:bold;"
204
  rows += (