diff --git a/llm-complete-guide/steps/populate_index.py b/llm-complete-guide/steps/populate_index.py index da926a5a..a6378d76 100644 --- a/llm-complete-guide/steps/populate_index.py +++ b/llm-complete-guide/steps/populate_index.py @@ -461,6 +461,9 @@ def draw_bar_chart( Returns: None """ + if label is None: + label = "" + max_value = max(data) bar_width = width // len(data)