Updated Docs & config file
Had to update a variable due to the latest version of pydantic using a similar variable and causing a potential clash. As such, I have had to use a new configuration file (simplest method). Peoples base settings will be reset on next update. Added a option in the config file for standalone mode output.
This commit is contained in:
1 parent
ff911ee73d
commit
9306b31c12
7 files changed
+55
-54
No files matched your search
+4
-4
@@ -6,9 +6,9 @@ import importlib.metadata as metadata
|
||||
import json
|
||||
from packaging import version
|
||||
|
||||
##############################################################
|
||||
#### LOAD PARAMS FROM CONFIG.JSON - REQUIRED FOR BRANDING ####
|
||||
##############################################################
|
||||
#################################################################
|
||||
#### LOAD PARAMS FROM confignew.json - REQUIRED FOR BRANDING ####
|
||||
#################################################################
|
||||
# STARTUP VARIABLE - Create "this_dir" variable as the current script directory
|
||||
this_dir = Path(__file__).parent.resolve()
|
||||
|
||||
@@ -20,7 +20,7 @@ def load_config(file_path):
|
||||
return config
|
||||
|
||||
|
||||
config_file_path = this_dir / "config.json"
|
||||
config_file_path = this_dir / "confignew.json"
|
||||
params = load_config(config_file_path)
|
||||
|
||||
# Define the path to the modeldownload config file file
|
||||
|
||||
Reference in new issue
Block a user