config.json

This commit is contained in:
liguo
2024-06-26 09:54:17 +08:00
parent a28af18bc4
commit e994253656
+8 -1
View File
@@ -1,7 +1,14 @@
import os
import shutil
from .constants import project_root
config_file_path = os.path.join(project_root, "config.json")
if not os.path.exists(config_file_path):
config_template_file_path = os.path.join(project_root, "config_template.json")
shutil.copy(config_template_file_path, config_file_path)
from .siliconflow import FreeChat,PaidChat
# A dictionary that contains all nodes you want to export with their names
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {