Typing update

This commit is contained in:
awsr
2026-03-13 00:15:54 -07:00
parent 041029d184
commit 9a7f1e7978
+1 -1
View File
@@ -459,7 +459,7 @@ def update_token_counter(text: str):
try:
try:
ids = getattr(tokenizer(prompt_list), 'input_ids', [])
ids: list = getattr(tokenizer(prompt_list), 'input_ids', [])
except TypeError:
for p in prompt_list:
ids.append(getattr(tokenizer(p), 'input_ids', []))