Skip to content

Commit

Permalink
Merge branch 'main' into feature/demo-llm-complete-hamza
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 authored Nov 11, 2024
2 parents f351cd3 + 4bbe2b9 commit ca3aed7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llm-complete-guide/steps/populate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,9 @@ def draw_bar_chart(
Returns:
None
"""
if label is None:
label = ""

max_value = max(data)

bar_width = width // len(data)
Expand Down

0 comments on commit ca3aed7

Please sign in to comment.