open-webui/backend/apps/web/internal/db.py
2023-12-25 21:44:28 -08:00

4 lines
70 B
Python

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