parent
e61aac34ca
commit
26fe88d8a6
|
|
@ -5,7 +5,7 @@ supported_pt_extensions = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors'])
|
||||||
|
|
||||||
folder_names_and_paths = {}
|
folder_names_and_paths = {}
|
||||||
|
|
||||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
base_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
|
||||||
models_dir = os.path.join(base_path, "models")
|
models_dir = os.path.join(base_path, "models")
|
||||||
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
||||||
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
||||||
|
|
@ -31,9 +31,9 @@ folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetwo
|
||||||
|
|
||||||
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
||||||
|
|
||||||
output_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "output")
|
output_directory = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))), "output")
|
||||||
temp_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "temp")
|
temp_directory = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))), "temp")
|
||||||
input_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "input")
|
input_directory = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))), "input")
|
||||||
|
|
||||||
filename_list_cache = {}
|
filename_list_cache = {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,5 +60,7 @@ shutil.rmtree(temp_path, onerror=onerror)
|
||||||
findReplace("./backend", "comfy", "fcbh", "*.py")
|
findReplace("./backend", "comfy", "fcbh", "*.py")
|
||||||
findReplace("./backend", "Comfy", "FCBH", "*.py")
|
findReplace("./backend", "Comfy", "FCBH", "*.py")
|
||||||
findReplace("./backend", "FCBHUI", "fcbh_backend", "*.py")
|
findReplace("./backend", "FCBHUI", "fcbh_backend", "*.py")
|
||||||
|
findReplace("./backend", "os.path.dirname(os.path.realpath(__file__))",
|
||||||
|
"os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))", "folder_paths.py")
|
||||||
|
|
||||||
print('Backend is built.')
|
print('Backend is built.')
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
version = '2.1.52'
|
version = '2.1.53'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue