Dannyar608 commited on
Commit
3c3df02
·
verified ·
1 Parent(s): 565ba21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1401,7 +1401,7 @@ class DataVisualizer:
1401
  "Status": "Complete" if completion >= 100 else "In Progress" if completion > 0 else "Not Started",
1402
  "Required": req.get('required', 0),
1403
  "Completed": req.get('completed', 0),
1404
- "Remaining": max(0, float(req.get('required', 0)) - float(req.get('completed', 0))))
1405
  })
1406
 
1407
  if not req_data:
 
1401
  "Status": "Complete" if completion >= 100 else "In Progress" if completion > 0 else "Not Started",
1402
  "Required": req.get('required', 0),
1403
  "Completed": req.get('completed', 0),
1404
+ "Remaining": max(0, float(req.get('required', 0)) - float(req.get('completed', 0)))
1405
  })
1406
 
1407
  if not req_data: