Skip to main content

AI-powered Git analysis tool using Gemini AI

Project description

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:

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:

pip3 install -r requirement/requirements-dev.txt
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

model_controller-1.0.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file model_controller-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for model_controller-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d120ee49c7039b7d95ffbe605780c2d159d165c34520842e96cf1492daffd26
MD5 57793c7217d675e0b73c73515092eba8
BLAKE2b-256 87dc0754e6050dfb95bc6fa6848066348e4d9a4e7631c6338886301ae9e00742

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page