Remove softprompt support
This commit is contained in:
parent
ccb4c9f178
commit
00b94847da
7 changed files with 8 additions and 106 deletions
|
@ -60,10 +60,6 @@ def get_available_extensions():
|
|||
return sorted(set(map(lambda x: x.parts[1], Path('extensions').glob('*/script.py'))), key=natural_keys)
|
||||
|
||||
|
||||
def get_available_softprompts():
|
||||
return ['None'] + sorted(set((k.stem for k in Path('softprompts').glob('*.zip'))), key=natural_keys)
|
||||
|
||||
|
||||
def get_available_loras():
|
||||
return sorted([item.name for item in list(Path(shared.args.lora_dir).glob('*')) if not item.name.endswith(('.txt', '-np', '.pt', '.json'))], key=natural_keys)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue