Skip to content

Commit

Permalink
Merge branch 'main' of github.com:joshsoftware/lingo.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
sethu committed Oct 9, 2024
2 parents b056ec3 + cb4b77d commit 4160371
Showing 1 changed file with 39 additions and 7 deletions.
46 changes: 39 additions & 7 deletions service/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
# Installations
# Setup Instructions
**Pre-requisite: Note: Following instructions a for linux, python 3.8.1 or above**

pip install uvicorn
sudo apt-get update
sudo apt-get install python3.8.1

# Start Server
ffmpeg

source venv/bin/activate
sudo apt update && sudo apt install ffmpeg

cd service
Ollam

uvicorn main:app --host localhost --port 8000 --reload
For Linux:

curl -fsSL https://ollama.com/install.sh | sh

For Mac:

https://ollama.com/download/Ollama-darwin.zip

For Windows:

https://ollama.com/download/OllamaSetup.exe

Llama 3.1 model

ollama run llama3.1

Setup Clone this github repository git clone

Create python virtual environment

python3 -m venv lingo .

Activate the virtual environment

source lingo/bin/activate

Install dependencies

pip install -r requirements.txt

uvicorn main:app --host localhost --port 8000 --reload

# Api endpoints

Expand Down Expand Up @@ -39,4 +71,4 @@ errorStatusCode: 500

# exit virtual env

deactivate
deactivate

0 comments on commit 4160371

Please sign in to comment.