CHAINLIT-RAG / ollama_serve.py
AI-RESEARCHER-2024's picture
Create ollama_serve.py
0ffeb39 verified
raw
history blame
160 Bytes
import os
# model name
model = 'llama3.2'
os.system('ollama serve &')
os.system(f'ollama pull {model}')
# verify the contents
os.system(f'ollama pull {model}')