dvilasuero HF staff commited on
Commit
f45ec7c
1 Parent(s): aa75803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -74,6 +74,13 @@ def donut_chart() -> alt.Chart:
74
  annotated_records = len(source_dataset)
75
  pending_records = int(os.getenv("TARGET_RECORDS")) - annotated_records
76
 
 
 
 
 
 
 
 
77
  source = pd.DataFrame(
78
  {
79
  "values": [annotated_records, pending_records],
 
74
  annotated_records = len(source_dataset)
75
  pending_records = int(os.getenv("TARGET_RECORDS")) - annotated_records
76
 
77
+ source_dataset, results = obtain_source_target_datasets()
78
+ pending_records = len(source_dataset)
79
+ annotated_records = len(results)
80
+ print(pending_records)
81
+ print(f"{annotated_records} annotated")
82
+ print(f"{pending_records} pending")
83
+
84
  source = pd.DataFrame(
85
  {
86
  "values": [annotated_records, pending_records],