mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-08 07:49:59 +08:00
fix path error
delete useless line wraps
This commit is contained in:
parent
707f6db43e
commit
ec484fa061
2
.gitignore
vendored
2
.gitignore
vendored
@ -10,5 +10,3 @@ reference
|
|||||||
GPT_weights
|
GPT_weights
|
||||||
SoVITS_weights
|
SoVITS_weights
|
||||||
TEMP
|
TEMP
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,4 +28,4 @@ def load_audio(file, sr):
|
|||||||
def clean_path(path_str):
|
def clean_path(path_str):
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
path_str = path_str.replace('/', '\\')
|
path_str = path_str.replace('/', '\\')
|
||||||
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ")
|
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ").strip("\u202a")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user