mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
Add README.md (#2249)
This commit is contained in:
21
examples/python-chat-app/README.md
Normal file
21
examples/python-chat-app/README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user