From c6e8b00718bfa8c0f89b474b9f9d91d171c498e1 Mon Sep 17 00:00:00 2001 From: Yuan-Man <68322456+Yuan-ManX@users.noreply.github.com> Date: Fri, 23 Feb 2024 03:03:44 +0800 Subject: [PATCH] Add README.md (#2249) --- examples/python-chat-app/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/python-chat-app/README.md diff --git a/examples/python-chat-app/README.md b/examples/python-chat-app/README.md new file mode 100644 index 00000000..340c7a2f --- /dev/null +++ b/examples/python-chat-app/README.md @@ -0,0 +1,21 @@ +# Ollama Chat App + +Build a Llama2 chat app using Streamlit and Ollama. + +## Running the Example + +1. Ensure you have the `llama2` model installed: + + ```bash + ollama pull llama2 + ``` +2. Install the Python Requirements. + + ```bash + pip install -r requirements.txt + ``` +3. Run the example: + + ```bash + python main.py + ```