Add default_config_path
Added default_config_path & set debug_narrator = False
This commit is contained in:
1 parent
fff2fac88d
commit
9e7a785303
1 file changed
+5
-1
@@ -82,7 +82,7 @@ class AlltalkConfigDebug:
|
||||
debug_func: bool = False
|
||||
debug_api: bool = False
|
||||
debug_fullttstext: bool = False
|
||||
debug_narrator: bool = True
|
||||
debug_narrator: bool = False
|
||||
|
||||
@dataclass
|
||||
class AlltalkConfigGradioPages:
|
||||
@@ -308,6 +308,10 @@ class AlltalkConfig(AbstractJsonConfig):
|
||||
self.gradio_pages = AlltalkConfigGradioPages()
|
||||
self._load_config()
|
||||
|
||||
@staticmethod
|
||||
def default_config_path():
|
||||
return AlltalkConfig.__this_dir / "confignew.json"
|
||||
|
||||
@staticmethod
|
||||
def get_instance(force_reload = False):
|
||||
if AlltalkConfig.__instance is None:
|
||||
|
||||
Reference in new issue
Block a user