mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +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 New Issue
Block a user