semvec/pypi-packages huggingface dataset:
model-controller 1.0.0
AI-powered Git analysis tool using Gemini AI
Requires Python: >=3.9

# LM Serving


### Setup environment variables
- Create file `.env` in the root directory with the following content `template.env`
- Update the `.env` file with your own values

- Run:
```bash
source .env
```

### Run with Docker (deployment phase)

_Notice that all processes below will be run inside a Docker container!_

- `make build`: Build Docker image LMDeploy
- `make up_server`: Up LMDeploy server serving model InternVL
- `make down_server`: Down LMDeploy server

### Inference with API Client

- Requirements:
  - Python 3.8
  
  - Install dependencies:
```bash
pip3 install -r requirement/requirements-dev.txt
```


```python

python3 client/main.py --image-urls <IMAGE1_URL> <IMAGE2_URL> --prompt <PROMPT> --api-key <API_KEY>

python3 client/main.py --image-paths <IMAGE1_PATH> <IMAGE2_PATH> --prompt <PROMPT>  --api-key <API_KEY> # For local image path
```