2023-03-27 12:37:00 -07:00
|
|
|
#!/usr/bin/env bash
|
2023-03-19 16:29:16 +09:00
|
|
|
|
|
|
|
# Activate the virtual environment
|
2023-03-27 12:37:00 -07:00
|
|
|
source ./venv/bin/activate
|
|
|
|
python -V
|
|
|
|
# If the requirements are validated, run the kohya_gui.py script with the command-line arguments
|
|
|
|
if python tools/validate_requirements.py; then
|
2023-03-19 16:29:16 +09:00
|
|
|
python kohya_gui.py "$@"
|
|
|
|
fi
|