Installation on local machines:

  • First, install ollama by go to https://ollama.com/ and click Download for your operating system.

  • Now open terminal and type ollama run gemma2 and press Enter. It will download the gemma2 model to run as the Large Language Model.

  • Install neccessary packages by open a new terminal window and type pip install -r requirements.txt then press Enter.

  • Now type streamlit run main.py to enjoy the app.

To run the model:

  • Open Terminal and type ollama run gemma2 and press Enter.

  • Then, open new Terminal and type streamlit run main.py to enjoy the app.