mirror of
https://github.com/brycedrennan/imaginAIry
synced 2024-11-05 12:00:15 +00:00
fix: prompt expansion bug
This commit is contained in:
parent
83db4ad795
commit
0db5c329bb
@ -20,7 +20,7 @@ def prompt_library_filepaths(prompt_library_paths=None):
|
|||||||
"""Return all available category/filepath pairs"""
|
"""Return all available category/filepath pairs"""
|
||||||
prompt_library_paths = [] if not prompt_library_paths else prompt_library_paths
|
prompt_library_paths = [] if not prompt_library_paths else prompt_library_paths
|
||||||
combined_prompt_library_filepaths = {}
|
combined_prompt_library_filepaths = {}
|
||||||
for prompt_path in DEFAULT_PROMPT_LIBRARY_PATHS + prompt_library_paths:
|
for prompt_path in DEFAULT_PROMPT_LIBRARY_PATHS + list(prompt_library_paths):
|
||||||
library_prompts = prompt_library_filepath(prompt_path)
|
library_prompts = prompt_library_filepath(prompt_path)
|
||||||
combined_prompt_library_filepaths.update(library_prompts)
|
combined_prompt_library_filepaths.update(library_prompts)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user