diff --git a/library/git_caption_gui.py b/library/git_caption_gui.py index 7ceb5d7..0ce1dda 100644 --- a/library/git_caption_gui.py +++ b/library/git_caption_gui.py @@ -27,7 +27,7 @@ def caption_images( return print(f'GIT captioning files in {train_data_dir}...') - run_cmd = f'{PYTHON} "finetune/make_captions_by_git.py"' + run_cmd = f'.\\venv\\Scripts\\python.exe "finetune/make_captions_by_git.py"' if not model_id == '': run_cmd += f' --model_id="{model_id}"' run_cmd += f' --batch_size="{int(batch_size)}"'