mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
fix path error
delete useless line wraps
This commit is contained in:
parent
707f6db43e
commit
ec484fa061
4
.gitignore
vendored
4
.gitignore
vendored
@ -9,6 +9,4 @@ logs
|
||||
reference
|
||||
GPT_weights
|
||||
SoVITS_weights
|
||||
TEMP
|
||||
|
||||
|
||||
TEMP
|
@ -28,4 +28,4 @@ def load_audio(file, sr):
|
||||
def clean_path(path_str):
|
||||
if platform.system() == 'Windows':
|
||||
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