mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
Update 2-get-hubert-wav32k.py
This commit is contained in:
parent
230bf5bae6
commit
4850930499
@ -56,7 +56,6 @@ else:
|
||||
def name2go(wav_name):
|
||||
hubert_path="%s/%s.pt"%(hubert_dir,wav_name)
|
||||
if(os.path.exists(hubert_path)):return
|
||||
if(inp_wav_dir!=""):
|
||||
wav_path="%s/%s"%(inp_wav_dir,wav_name)
|
||||
tmp_audio = load_audio(wav_path, 32000)
|
||||
tmp_max = np.abs(tmp_audio).max()
|
||||
|
Loading…
x
Reference in New Issue
Block a user