From dfdbc07bc3eb4d9dbc19930be6b37ff803cad4ab Mon Sep 17 00:00:00 2001 From: Yanli Date: Sun, 29 Sep 2024 16:43:01 +0800 Subject: [PATCH] update config folder --- .env.example | 1 + scripts/runpod_api.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..6af53b74 --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +GPT_SOVITS_CONFIG=config_data \ No newline at end of file diff --git a/scripts/runpod_api.py b/scripts/runpod_api.py index 4ce6aeba..e439ab52 100644 --- a/scripts/runpod_api.py +++ b/scripts/runpod_api.py @@ -24,7 +24,7 @@ class InputType(BaseModel): interface = GPTSoVITSInterfaceSimple( - config_data_base=os.getenv("GPT_SOVITS_CONFIG", ""), + config_data_base=os.getenv("GPT_SOVITS_CONFIG", "/config_data"), )