CodeGeeX4/interpreter_demo
2024-07-05 09:33:53 +08:00
..
app.py Initial commit 2024-07-05 09:33:53 +08:00
data.csv Initial commit 2024-07-05 09:33:53 +08:00
Dockerfile.sandbox Initial commit 2024-07-05 09:33:53 +08:00
image.png Initial commit 2024-07-05 09:33:53 +08:00
README_zh.md Initial commit 2024-07-05 09:33:53 +08:00
README.md Initial commit 2024-07-05 09:33:53 +08:00
sandbox_tests.py Initial commit 2024-07-05 09:33:53 +08:00
SANDBOX.md Initial commit 2024-07-05 09:33:53 +08:00
sandbox.py Initial commit 2024-07-05 09:33:53 +08:00

Codegeex4 Interpreter Gradio

Fully local gradio demo of CodeGeeX4 Interpreter.

Usage

Install Dependencies

pip install gradio requests

Build & Launch Sandbox

docker build -t sandbox -f Dockerfile.sandbox .
docker run --name sandbox --publish 8080:8080 sandbox

Launch Demo

python app.py --tgi-addr <tgi-addr>

Docs

Check out the documentation for the sandbox API.