mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-08 09:40:12 +01:00
Lint
This commit is contained in:
parent
5ab069786b
commit
6ba0164c70
|
|
@ -483,7 +483,6 @@ def generate_reply_custom(question, original_question, seed, state, stopping_str
|
|||
t1 = time.time()
|
||||
original_tokens = len(encode(original_question)[0])
|
||||
new_tokens = len(encode(original_question + reply)[0]) - original_tokens
|
||||
|
||||
print(f'Output generated in {(t1-t0):.2f} seconds ({new_tokens/(t1-t0):.2f} tokens/s, {new_tokens} tokens, context {original_tokens}, seed {seed})')
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue