KohyaSS/gui.sh

9 lines
259 B
Bash
Raw Permalink Normal View History

2023-04-01 20:22:30 +00:00
#!/usr/bin/env bash
# Activate the virtual environment
2023-04-01 20:22:30 +00:00
source ./venv/bin/activate
2023-04-01 20:22:30 +00:00
# If the requirements are validated, run the kohya_gui.py script with the command-line arguments
if python tools/validate_requirements.py; then
python kohya_gui.py "$@"
2023-04-01 20:22:30 +00:00
fi