mirror of
https://github.com/JasonYANG170/CodeGeeX4.git
synced 2024-11-23 12:16:33 +00:00
.. | ||
app.py | ||
data.csv | ||
Dockerfile.sandbox | ||
image.png | ||
README_zh.md | ||
README.md | ||
sandbox_tests.py | ||
SANDBOX.md | ||
sandbox.py |
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.