Use config classes for firstrun and welcome
This commit is contained in:
1 parent
4d12520801
commit
13aff24e0b
5 files changed
+75
-107
No files matched your search
@@ -282,6 +282,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