Spaces:
Runtime error
Runtime error
changing top piechart to total objective
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def donut_chart_target() -> alt.Chart:
|
|
115 |
|
116 |
# Load your data
|
117 |
annotated_records = sum(user_ids_annotations.values())
|
118 |
-
pending_records = int(os.getenv("
|
119 |
|
120 |
# Prepare data for the donut chart
|
121 |
source = pd.DataFrame(
|
|
|
115 |
|
116 |
# Load your data
|
117 |
annotated_records = sum(user_ids_annotations.values())
|
118 |
+
pending_records = int(os.getenv("TARGET_RECORDS")) - annotated_records
|
119 |
|
120 |
# Prepare data for the donut chart
|
121 |
source = pd.DataFrame(
|