This project is built upon the Ollama framework. Please ensure you have Ollama installed locally before proceeding.
-
Clone the Repository
git clone https://github.com/bibekplus/Ollama-GardioUI
-
Create a Virtual Environment
python3 -m venv venv
-
Install Dependencies
pipenv install --skip-lock
-
Configure the Model in
main.pyModify themain.pyfile to select the specific model you wish to use:import requests, json import gradio as gr model = 'codellama'
-
Run the Application
python main.py
Alternatively, you can set up the project quickly using the following command:
curl -sSL https://github.com/bibekplus/Ollama-GardioUI/raw/main/install.sh | sh