mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-25 02:58:33 +08:00
Add files via upload
This commit is contained in:
parent
fed230f5cc
commit
a8f8d521cc
@ -79,6 +79,7 @@ def b_change_index(index, batch):
|
|||||||
|
|
||||||
|
|
||||||
def b_next_index(index, batch):
|
def b_next_index(index, batch):
|
||||||
|
b_save_file()
|
||||||
if (index + batch) <= g_max_json_index:
|
if (index + batch) <= g_max_json_index:
|
||||||
return index + batch , *b_change_index(index + batch, batch)
|
return index + batch , *b_change_index(index + batch, batch)
|
||||||
else:
|
else:
|
||||||
@ -86,6 +87,7 @@ def b_next_index(index, batch):
|
|||||||
|
|
||||||
|
|
||||||
def b_previous_index(index, batch):
|
def b_previous_index(index, batch):
|
||||||
|
b_save_file()
|
||||||
if (index - batch) >= 0:
|
if (index - batch) >= 0:
|
||||||
return index - batch , *b_change_index(index - batch, batch)
|
return index - batch , *b_change_index(index - batch, batch)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user