Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|