From 0ccf762225924f50f692db19cb6e097095c2d14c Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Tue, 4 Jul 2023 23:34:41 +0300 Subject: Subtle changes within stylize.sh, neuralart.py and the README.md files. Mostly QoS changes and better instructions and error handling. Changes to be committed: modified: README.md modified: neuralart.py modified: stylize.sh --- stylize.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stylize.sh') diff --git a/stylize.sh b/stylize.sh index 939ec06..b83517b 100755 --- a/stylize.sh +++ b/stylize.sh @@ -2,6 +2,8 @@ set -e ### exit the script if any part of it fails +cd "$(dirname "${BASH_SOURCE[0]}")" + cwd=$(pwd | sed -r 's%.*/%%g') if [ $cwd != "neural-art" ] ; then echo "You must be in the 'neural-art' directory when you run this" -- cgit v1.2.3