Skip to content

duongnguyen-dev/WhisBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhisBot

Your own AI Voice Assistant

screenshot

Installation and Usage (MacOS only)

Strictly follow the below instructions to run the application

  1. Clone this Repo:
git clone https://github.com/DuongNg2911/WhisBot.git
  1. Make sure you have installed a version of Python that supports arm64 architecture, otherwise:
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
bash Miniforge3-MacOSX-arm64.sh
  1. Create conda environment for python v3.9:
conda create -n myenv python==3.9
conda activate myenv
  1. Run
pip install -r requirements.txt
  1. Install python-llama-cpp:
!CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64" pip install --upgrade --verbose --force-reinstall --no-cache-dir llama-cpp-python==0.2.11
  1. Download models:
bash scripts/download_models.sh
  1. To run frontend:
cd frontend
npm start
  1. To run backend:
cd whisbot
uvicorn router:app --reload