Spaces:
Runtime error
Runtime error
Commit
β’
b83dd5c
1
Parent(s):
145deff
Update app.py
Browse files
app.py
CHANGED
@@ -66,25 +66,7 @@ import altair as alt
|
|
66 |
import pandas as pd
|
67 |
import os
|
68 |
|
69 |
-
import altair as alt
|
70 |
-
import pandas as pd
|
71 |
-
import os
|
72 |
-
|
73 |
-
import altair as alt
|
74 |
-
import pandas as pd
|
75 |
-
import os
|
76 |
-
|
77 |
-
import altair as alt
|
78 |
-
import pandas as pd
|
79 |
-
import os
|
80 |
|
81 |
-
import altair as alt
|
82 |
-
import pandas as pd
|
83 |
-
import os
|
84 |
-
|
85 |
-
import altair as alt
|
86 |
-
import pandas as pd
|
87 |
-
import os
|
88 |
|
89 |
def progress_bar_chart() -> alt.Chart:
|
90 |
source_dataset, _ = obtain_source_target_datasets()
|
@@ -97,7 +79,7 @@ def progress_bar_chart() -> alt.Chart:
|
|
97 |
progress_data = pd.DataFrame({
|
98 |
'status': ['Completed', 'Pending'],
|
99 |
'percentage': [percentage_complete, 100 - percentage_complete],
|
100 |
-
'actual': [
|
101 |
})
|
102 |
|
103 |
# Create the progress bar chart.
|
|
|
66 |
import pandas as pd
|
67 |
import os
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
def progress_bar_chart() -> alt.Chart:
|
72 |
source_dataset, _ = obtain_source_target_datasets()
|
|
|
79 |
progress_data = pd.DataFrame({
|
80 |
'status': ['Completed', 'Pending'],
|
81 |
'percentage': [percentage_complete, 100 - percentage_complete],
|
82 |
+
'actual': [pending_records, annotated_records]
|
83 |
})
|
84 |
|
85 |
# Create the progress bar chart.
|