- Clone this repository
cd laborAI
python -m venv .venv
- Create a Python virtual environment
cd laborAI
python -m venv .venv
- Install the requirements
$ pip install -r requirements.txt
- In your terminal, activate your environment with one of the following commands, depending on your operating system.
# Windows command prompt
.venv\Scripts\activate.bat
# Windows PowerShell
.venv\Scripts\Activate.ps1
# macOS and Linux
source .venv/bin/activate
Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
Run ollama server
ollama serve &
Download model
ollama pull llama3-chaqa
- Ollama must be running. Remember to open a terminal and start ollama
ollama serve &
- Run the app
$ streamlit run app.py
-
To stop the Streamlit server, press Ctrl+C in the terminal.
-
When you're done using this environment, return to your normal shell by typing:
$ deactivate