diff --git a/image/run_gen.sh b/image/run_gen.sh index cfd5610..2d48766 100644 --- a/image/run_gen.sh +++ b/image/run_gen.sh @@ -1,18 +1,11 @@ #!/bin/bash -python3.11 -m venv . - -source script/bin/activate - Xvfb :99 -screen 0 1280x1024x24 & export DISPLAY=:99 -pip install pillow -pip install requests - -python3.11 script/generate_dzi_files.py -python3.11 script/generate_images_txt.py -python3.11 script/generate_filtered_photos.py -python3.11 script/generate_annotations.py +script/bin/python3.11 script/generate_dzi_files.py +script/bin/python3.11 script/generate_images_txt.py +script/bin/python3.11 script/generate_filtered_photos.py +script/bin/python3.11 script/generate_annotations.py sudo chmod -R 775 . sudo chown -R opc .