mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Merge branch 'main' of github.com:oobabooga/text-generation-webui
This commit is contained in:
commit
1405cd8af2
@ -59,6 +59,8 @@ class Handler(BaseHTTPRequestHandler):
|
||||
'seed': int(body.get('seed', -1)),
|
||||
'add_bos_token': int(body.get('add_bos_token', True)),
|
||||
'custom_stopping_strings': body.get('custom_stopping_strings', []),
|
||||
'truncation_length': int(body.get('truncation_length', 2048)),
|
||||
'ban_eos_token': bool(body.get('ban_eos_token', False)),
|
||||
}
|
||||
|
||||
generator = generate_reply(
|
||||
|
Loading…
Reference in New Issue
Block a user