feat: Add lore pack, UI adjustments, requirements.txt and INSTALL.md

This commit is contained in:
kobold-ai
2026-10-29 08:51:28 +01:00
parent fb789e8866
commit 6c62676d0d
14 changed files with 3281 additions and 2725 deletions
+4
View File
@@ -4,6 +4,7 @@ from app.database import engine, SessionLocal, Base
from app.models import Question, AdminUser
from app.auth import hash_password
from app.seed_40 import seed_40_questions
from app.seed_lore_pack import seed_lore_pack
def seed_db():
Base.metadata.create_all(bind=engine)
@@ -29,6 +30,9 @@ def seed_db():
print("Question table is empty, seeding 40 initial bilingual questions...")
seed_40_questions()
# 3. Ensure Lore Pack (Books, Movies, Hard Creatures incl. Blast-Ended Skrewts) is present
seed_lore_pack()
finally:
db.close()