mirror of
https://github.com/Anjok07/ultimatevocalremovergui.git
synced 2024-11-24 15:30:11 +01:00
Fixed conversion not working
This commit is contained in:
parent
b614a651ca
commit
f32f95cbc5
@ -377,6 +377,8 @@ def main(window: tk.Wm, text_widget: tk.Text, button_widget: tk.Button, progress
|
|||||||
folder_path = os.path.join(data["export_path"], modelFolderName)
|
folder_path = os.path.join(data["export_path"], modelFolderName)
|
||||||
if not os.path.isdir(folder_path):
|
if not os.path.isdir(folder_path):
|
||||||
os.mkdir(folder_path)
|
os.mkdir(folder_path)
|
||||||
|
else:
|
||||||
|
folder_path = ''
|
||||||
|
|
||||||
# Determine Loops
|
# Determine Loops
|
||||||
total_loops = data['stackPasses']
|
total_loops = data['stackPasses']
|
||||||
@ -384,10 +386,9 @@ def main(window: tk.Wm, text_widget: tk.Text, button_widget: tk.Button, progress
|
|||||||
total_loops += 1
|
total_loops += 1
|
||||||
|
|
||||||
for file_num, music_file in enumerate(data['input_paths'], start=1):
|
for file_num, music_file in enumerate(data['input_paths'], start=1):
|
||||||
try:
|
|
||||||
# Determine File Name
|
# Determine File Name
|
||||||
base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}')
|
base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}')
|
||||||
|
try:
|
||||||
for loop_num in range(total_loops):
|
for loop_num in range(total_loops):
|
||||||
# -Determine which model will be used-
|
# -Determine which model will be used-
|
||||||
if not loop_num:
|
if not loop_num:
|
||||||
|
@ -384,16 +384,17 @@ def main(window: tk.Wm, text_widget: tk.Text, button_widget: tk.Button, progress
|
|||||||
folder_path = os.path.join(data["export_path"], modelFolderName)
|
folder_path = os.path.join(data["export_path"], modelFolderName)
|
||||||
if not os.path.isdir(folder_path):
|
if not os.path.isdir(folder_path):
|
||||||
os.mkdir(folder_path)
|
os.mkdir(folder_path)
|
||||||
|
else:
|
||||||
|
folder_path = ''
|
||||||
|
|
||||||
# Determine Loops
|
# Determine Loops
|
||||||
total_loops = data['stackPasses']
|
total_loops = data['stackPasses']
|
||||||
if not data['stackOnly']:
|
if not data['stackOnly']:
|
||||||
total_loops += 1
|
total_loops += 1
|
||||||
for file_num, music_file in enumerate(data['input_paths'], start=1):
|
for file_num, music_file in enumerate(data['input_paths'], start=1):
|
||||||
try:
|
|
||||||
# Determine File Name
|
# Determine File Name
|
||||||
base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}')
|
base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}')
|
||||||
|
try:
|
||||||
# --Seperate Music Files--
|
# --Seperate Music Files--
|
||||||
for loop_num in range(total_loops):
|
for loop_num in range(total_loops):
|
||||||
# -Determine which model will be used-
|
# -Determine which model will be used-
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Models Go Here
|
|
@ -1 +0,0 @@
|
|||||||
Models Go Here
|
|
@ -1 +0,0 @@
|
|||||||
Models Go Here
|
|
@ -1 +0,0 @@
|
|||||||
Models Go Here
|
|
Loading…
Reference in New Issue
Block a user