mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-02-16 04:35:32 +01: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 a new issue