open-webui/backend/apps/web/internal/db.py
2024-01-19 17:13:09 -03:00

7 lines
113 B
Python

from peewee import *
from config import DATA_DIR
DB = SqliteDatabase(str(DATA_DIR / "ollama.db"))
DB.connect()