dvilasuero HF staff commited on
Commit
fa83549
1 Parent(s): 2d89a48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,9 +70,9 @@ import os
70
 
71
  def donut_chart() -> alt.Chart:
72
  # Load your data
73
- source_dataset, _ = obtain_source_target_datasets()
74
  pending_records = len(source_dataset)
75
- annotated_records = int(os.getenv("TARGET_RECORDS")) - annotated_records
76
 
77
  # Prepare data for the donut chart
78
  source = pd.DataFrame({
 
70
 
71
  def donut_chart() -> alt.Chart:
72
  # Load your data
73
+ source_dataset, results = obtain_source_target_datasets()
74
  pending_records = len(source_dataset)
75
+ annotated_records = len(results)
76
 
77
  # Prepare data for the donut chart
78
  source = pd.DataFrame({