mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-18 15:59:51 +08:00
fix path issues
This commit is contained in:
parent
3ae02769c6
commit
2a98a69a39
2
api.py
2
api.py
@ -1102,7 +1102,7 @@ async def tts_endpoint(
|
|||||||
sample_steps: int = 32,
|
sample_steps: int = 32,
|
||||||
if_sr: bool = False
|
if_sr: bool = False
|
||||||
):
|
):
|
||||||
refer_wav_path = f"idols/{character}.wav"
|
refer_wav_path = f"idols/{character}/{character}.wav"
|
||||||
inp_refs = [f"idols/{character}/refs/{file}" for file in os.listdir(f"idols/{character}/refs") if file.endswith('.wav')]
|
inp_refs = [f"idols/{character}/refs/{file}" for file in os.listdir(f"idols/{character}/refs") if file.endswith('.wav')]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user