Skip to content

Commit

Permalink
bug fix: setting empty token info as strings
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshith-403 committed Oct 18, 2024
1 parent 98b74c8 commit 1a0aa78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/inspectus/token_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def visualize_tokens(
theme: str,
):
if token_info is None:
token_info = [{} for _ in range(len(tokens))]
token_info = ["" for _ in range(len(tokens))]

value_names = list(values.keys())

Expand Down

0 comments on commit 1a0aa78

Please sign in to comment.