mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Minor change
This commit is contained in:
parent
474dc7355a
commit
134430bbe2
@ -43,9 +43,7 @@ def build_parameters(body, chat=False):
|
||||
|
||||
preset_name = body.get('preset', 'None')
|
||||
if preset_name not in ['None', None, '']:
|
||||
print(preset_name)
|
||||
preset = load_preset_memoized(preset_name)
|
||||
print(preset)
|
||||
generate_params.update(preset)
|
||||
|
||||
if chat:
|
||||
|
Loading…
Reference in New Issue
Block a user