Use YAML for presets and settings

This commit is contained in:
oobabooga 2023-05-28 22:34:12 -03:00
parent 2cf711f35e
commit 00ebea0b2a
42 changed files with 155 additions and 169 deletions

View file

@ -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():