-
Notifications
You must be signed in to change notification settings - Fork 11
/
__init__.py
36 lines (24 loc) · 1.3 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import sys
#from .mng_json import json_manager
from .mng_json import json_manager
#Diagnostic version print to detect incompatible openai versions
import openai
#WEB_DIRECTORY = "./js"
print(f"Plush - Running on python installation: {sys.executable}, ver: {sys.version}")
print("Plush - Current Openai Version: ", openai.__version__)
jmanager = json_manager()
if jmanager.on_startup(False):
jmanager.log_events("config.json was updated")
else:
jmanager.log_events("config.json was not updated")
__version__ ="1.21.10"
print('Plush - Version:', __version__)
#********************************************************************************
from .style_prompt import NODE_CLASS_MAPPINGS as styClassMappings, NODE_DISPLAY_NAME_MAPPINGS as styDisplay
from .UtilNodes import NODE_CLASS_MAPPINGS as utilClassMappings, NODE_DISPLAY_NAME_MAPPINGS as utilDisplay
#from .TestNodes import NODE_CLASS_MAPPINGS as testClassMappings, NODE_DISPLAY_NAME_MAPPINGS as testDisplay
NODE_CLASS_MAPPINGS = {**styClassMappings, **utilClassMappings}
NODE_DISPLAY_NAME_MAPPINGS = {**styDisplay, **utilDisplay}
#NODE_CLASS_MAPPINGS = {**styClassMappings, **utilClassMappings, **testClassMappings}
#NODE_DISPLAY_NAME_MAPPINGS = {**styDisplay, **utilDisplay, **testDisplay}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']