Fully local gradio demo of CodeGeeX4 Interpreter.
pip install gradio requests
docker build -t sandbox -f Dockerfile.sandbox .
docker run --name sandbox --publish 8080:8080 sandbox
python app.py --tgi-addr <tgi-addr>
Check out the documentation for the sandbox API.