mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-05 22:20:01 +08:00
fix: path ValueError
This commit is contained in:
parent
ad7df5298b
commit
9b72d61ad1
@ -2,7 +2,7 @@ import json
|
||||
import locale
|
||||
import os
|
||||
|
||||
I18N_JSON_DIR: os.PathLike = os.path.join(os.path.dirname(os.path.relpath(__file__)), "locale")
|
||||
I18N_JSON_DIR: os.PathLike = os.path.join(os.path.dirname(os.path.abspath(__file__)), "locale")
|
||||
|
||||
|
||||
def load_language_list(language):
|
||||
|
Loading…
x
Reference in New Issue
Block a user