Update app.py
Browse files
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
|
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 += (
|