diff --git a/inference_v2.py b/inference_v2.py index 854eae8..00857e7 100644 --- a/inference_v2.py +++ b/inference_v2.py @@ -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) if not os.path.isdir(folder_path): os.mkdir(folder_path) + else: + folder_path = '' # Determine Loops 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 for file_num, music_file in enumerate(data['input_paths'], start=1): + # Determine File Name + base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}') try: - # Determine File Name - base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}') - for loop_num in range(total_loops): # -Determine which model will be used- if not loop_num: diff --git a/inference_v4.py b/inference_v4.py index 2c1fb98..a0ea93b 100644 --- a/inference_v4.py +++ b/inference_v4.py @@ -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) if not os.path.isdir(folder_path): os.mkdir(folder_path) + else: + folder_path = '' # Determine Loops total_loops = data['stackPasses'] if not data['stackOnly']: total_loops += 1 for file_num, music_file in enumerate(data['input_paths'], start=1): + # Determine File Name + base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}') try: - # Determine File Name - base_name = os.path.join(folder_path, f'{file_num}_{os.path.splitext(os.path.basename(music_file))[0]}') - # --Seperate Music Files-- for loop_num in range(total_loops): # -Determine which model will be used- diff --git a/models/v2/Main Models/Models Go Here.txt b/models/v2/Main Models/Models Go Here.txt deleted file mode 100644 index 6671662..0000000 --- a/models/v2/Main Models/Models Go Here.txt +++ /dev/null @@ -1 +0,0 @@ -Models Go Here \ No newline at end of file diff --git a/models/v2/Stacked Models/Models Go Here.txt b/models/v2/Stacked Models/Models Go Here.txt deleted file mode 100644 index 6671662..0000000 --- a/models/v2/Stacked Models/Models Go Here.txt +++ /dev/null @@ -1 +0,0 @@ -Models Go Here \ No newline at end of file diff --git a/models/v4/Main Models/Models Go Here.txt b/models/v4/Main Models/Models Go Here.txt deleted file mode 100644 index 6671662..0000000 --- a/models/v4/Main Models/Models Go Here.txt +++ /dev/null @@ -1 +0,0 @@ -Models Go Here \ No newline at end of file diff --git a/models/v4/Stacked Models/Models Go Here.txt b/models/v4/Stacked Models/Models Go Here.txt deleted file mode 100644 index 6671662..0000000 --- a/models/v4/Stacked Models/Models Go Here.txt +++ /dev/null @@ -1 +0,0 @@ -Models Go Here \ No newline at end of file