mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
14 lines
276 B
Python
14 lines
276 B
Python
class CmdArgs:
|
|
_instance = None
|
|
|
|
def __new__(cls, *args, **kwargs):
|
|
if cls._instance is None:
|
|
cls._instance = super(CmdArgs, cls).__new__(cls)
|
|
return cls._instance
|
|
|
|
def set_args(self, args):
|
|
self.args = args
|
|
|
|
def get_args(self):
|
|
return self.args
|