Use YAML for presets and settings
This commit is contained in:
parent
2cf711f35e
commit
00ebea0b2a
42 changed files with 155 additions and 169 deletions
|
@ -29,7 +29,7 @@ def get_available_models():
|
|||
|
||||
|
||||
def get_available_presets():
|
||||
return sorted(set((k.stem for k in Path('presets').glob('*.txt'))), key=natural_keys)
|
||||
return sorted(set((k.stem for k in Path('presets').glob('*.yaml'))), key=natural_keys)
|
||||
|
||||
|
||||
def get_available_prompts():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue