Update app.py
Browse files
app.py
CHANGED
@@ -104,10 +104,11 @@ def generate_charts(ner_output_bin: dict, ner_output_ext: dict) -> Tuple[go.Figu
|
|
104 |
ext_labels = list(entity_counts_ext.keys())
|
105 |
ext_sizes = list(entity_counts_ext.values())
|
106 |
|
|
|
107 |
# Define color mapping
|
108 |
bin_color_map = {
|
109 |
-
"External": "#
|
110 |
-
"Internal": "#
|
111 |
}
|
112 |
|
113 |
ext_color_map = {
|
|
|
104 |
ext_labels = list(entity_counts_ext.keys())
|
105 |
ext_sizes = list(entity_counts_ext.values())
|
106 |
|
107 |
+
|
108 |
# Define color mapping
|
109 |
bin_color_map = {
|
110 |
+
"External": "#6ad5bc",
|
111 |
+
"Internal": "#ee8bac"
|
112 |
}
|
113 |
|
114 |
ext_color_map = {
|