CodeGeeX4/interpreter_demo/README.md

29 lines
445 B
Markdown
Raw Permalink Normal View History

2024-07-05 01:33:53 +00:00
# Codegeex4 Interpreter Gradio
Fully local gradio demo of CodeGeeX4 Interpreter.
## Usage
### Install Dependencies
```python
pip install gradio requests
```
### Build & Launch Sandbox
```bash
docker build -t sandbox -f Dockerfile.sandbox .
docker run --name sandbox --publish 8080:8080 sandbox
```
### Launch Demo
```bash
python app.py --tgi-addr <tgi-addr>
```
## Docs
Check out the [documentation](./SANDBOX.md) for the sandbox API.