Spaces:
Sleeping
Sleeping
# -*- coding: utf-8 -*- | |
project_dir="/project" | |
# Run the gpt engineer script | |
gpt-engineer $project_dir "$@" | |
# Patch the permissions of the generated files to be owned by nobody except prompt file | |
find "$project_dir" -mindepth 1 -maxdepth 1 ! -path "$project_dir/prompt" -exec chown -R nobody:nogroup {} + -exec chmod -R 777 {} + | |