open-webui/backend/apps/web/internal/db.py
2023-12-27 00:11:23 -08:00

4 lines
75 B
Python

from peewee import *
DB = SqliteDatabase("./data/ollama.db")
DB.connect()