diff --git a/Dataset.bat b/Dataset.bat index 0dfc3ef..a0155c5 100644 --- a/Dataset.bat +++ b/Dataset.bat @@ -3,7 +3,7 @@ chcp 65001 > NUL pushd %~dp0 echo Running gradio_tabs/dataset.py... -venv\Scripts\python gradio_tabs/dataset.py +venv\Scripts\python -m gradio_tabs.dataset if %errorlevel% neq 0 ( pause & popd & exit /b %errorlevel% ) diff --git a/Inference.bat b/Inference.bat index 833bd8e..49a0049 100644 --- a/Inference.bat +++ b/Inference.bat @@ -3,7 +3,7 @@ chcp 65001 > NUL pushd %~dp0 echo Running gradio_tabs/inference.py... -venv\Scripts\python gradio_tabs/inference.py +venv\Scripts\python -m gradio_tabs.inference if %errorlevel% neq 0 ( pause & popd & exit /b %errorlevel% ) diff --git a/Merge.bat b/Merge.bat index 523ef47..090e860 100644 --- a/Merge.bat +++ b/Merge.bat @@ -3,7 +3,7 @@ chcp 65001 > NUL pushd %~dp0 echo Running gradio_tabs/merge.py... -venv\Scripts\python gradio_tabs/merge.py +venv\Scripts\python -m gradio_tabs.merge if %errorlevel% neq 0 ( pause & popd & exit /b %errorlevel% ) diff --git a/StyleVectors.bat b/StyleVectors.bat index 6f6a4c3..e595e6c 100644 --- a/StyleVectors.bat +++ b/StyleVectors.bat @@ -3,7 +3,7 @@ chcp 65001 > NUL pushd %~dp0 echo Running gradio_tabs/style_vectors.py... -venv\Scripts\python gradio_tabs/style_vectors.py +venv\Scripts\python -m gradio_tabs.style_vectors if %errorlevel% neq 0 ( pause & popd & exit /b %errorlevel% ) diff --git a/Train.bat b/Train.bat index f7adce3..18f3db3 100644 --- a/Train.bat +++ b/Train.bat @@ -3,7 +3,7 @@ chcp 65001 > NUL pushd %~dp0 echo Running gradio_tabs/train.py... -venv\Scripts\python gradio_tabs/train.py +venv\Scripts\python -m gradio_tabs.train if %errorlevel% neq 0 ( pause & popd & exit /b %errorlevel% )