Remove an error message
This commit is contained in:
parent
661bfaac8e
commit
0ede2965d5
2 changed files with 1 additions and 3 deletions
|
|
@ -48,4 +48,4 @@ def count_tokens(text):
|
|||
tokens = get_encoded_length(text)
|
||||
return str(tokens)
|
||||
except:
|
||||
return '-1'
|
||||
return '0'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue