Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 463 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 463 Bytes

Python Server for External Models

Requirements

conda create --name lean-copilot python=3.10 python numpy
conda activate lean-copilot
pip install torch --index-url https://download.pytorch.org/whl/cu121  # Depending on whether you have CUDA and the CUDA version; see https://pytorch.org/.
pip install fastapi uvicorn loguru transformers openai

Running the Server

uvicorn server:app --port 23337