97b004e756
This reverts commit b7a719b51a56bb4094512c76f48ef118649874c6, reversing changes made to 538752ccab9032d9fd7035bfb5ba2583b30747ca.
14 lines
363 B
Bash
Executable File
14 lines
363 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Activate the virtual environment
|
|
source venv/bin/activate
|
|
|
|
# Validate the requirements and store the exit code
|
|
python tools/validate_requirements.py --requirements requirements_macos.txt
|
|
exit_code=$?
|
|
|
|
# If the exit code is 0, run the kohya_gui.py script with the command-line arguments
|
|
if [ $exit_code -eq 0 ]; then
|
|
python kohya_gui.py "$@"
|
|
fi
|