diff --git a/modules/ui_common.py b/modules/ui_common.py index 82ca944a1..99a8a2d22 100644 --- a/modules/ui_common.py +++ b/modules/ui_common.py @@ -435,9 +435,7 @@ def update_token_counter(text: str): from modules.extra_networks import parse_prompt - token_counts = [0] - max_length = 75 - count_formatted = '' + count_formatted = '0' visible = False prompt, _ = parse_prompt(text)