README.md 445 Bytes
Newer Older
dengjb's avatar
dengjb committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.