Skip to content

Instantly share code, notes, and snippets.

View jocot's full-sized avatar

Joe Cotroneo jocot

View GitHub Profile
@jocot
jocot / olu.py
Created January 7, 2024 00:28
ollama python utility script
#!/usr/bin/env python3
import json
import os
import shutil
import sys
OLLAMA_PATH = '/home/ollama'
def loadJSON(filename):
if os.path.exists(filename):