Fetching metadata from the HF Docker repository...
-
Update templates/grammar.html
-
Update templates/vocab.html
-
Update templates/translate.html
-
Update templates/translate.html
-
Update templates/vocab.html
-
Update leotsha/views_v2.py
-
Update leotsha_project/settings.py
-
Update leotsha/views_v2.py
-
fix: restore whatsapp redirect syntax
-
Update leotsha/views_v2.py
-
feat: add SedibaLM inference client
-
Update leotsha/views_v2.py
-
Update leotsha/views_v2.py
"""Leotsa v2 multi-mode views."""
from .sedibalm_client import sedibalm_generate
import json, urllib.parse
from datetime import date
from pathlib import Path
from django.shortcuts import render, redirect
from django.http import HttpResponse
from .models import Sentence, Contributor, Vote, Word, Translation, Grammar
MISSION_TARGET = 10
RESULTS = Path.home() / "leotsha_project" / "results"
def get_contributor(request):
name = request.session.get("name")
if not name:
name = "guest_" + (request.session.session_key or "anon")[:6]
request.session["name"] = name
c, _ = Contributor.objects.get_or_create(name=name)
return c
def reset_mission(c):
if getattr(c, "mission_date", None) != date.today():
c.mission_count = 0
c.mission_date = date.today()
c.save()
def award(c, pts):
c.points = (c.points or 0) + pts
c.mission_count = (c.mission_count or 0) + 1
c.level = (c.points or 0)//100 + 1
c.save()
def f1_progress():
… -
add SedibaLM inference client
-
docs: add AGPL-3.0 licence to leotsha Space
-
Upload README.md with huggingface_hub
-
Upload README.md with huggingface_hub
-
fix: SameSite=None for CSRF cookie in HF Space iframe context
Sediba-AI
-
temp: DEBUG=True to diagnose CSRF
Sediba-AI
-
fix: add HF Space domain to CSRF_TRUSTED_ORIGINS
Sediba-AI
-
fix: STATIC_ROOT, migrate on startup, proper startup script
Sediba-AI
-
fix: run migrations before gunicorn on startup
Sediba-AI
-
fix: DEBUG=False, add HF Space CSRF origin, whitenoise
Sediba-AI
-
fix: minimal clean requirements.txt - 18 packages only
Sediba-AI
-
fix: remove onboard and all Ubuntu desktop system packages
Sediba-AI
-
fix: remove nemo-emblems, Docker-verified clean install
Sediba-AI
-
fix: pin Mako to stable 1.3.12, requirements now Docker-verified
Sediba-AI
-
fix: remove gyp and all remaining system packages
Sediba-AI
-
fix: remove defer==1.0.6 and remaining system packages
Sediba-AI
-
fix: remove dbus-python system package
Sediba-AI
-
fix: remove command-not-found and remaining system packages
Sediba-AI
-
fix: remove GPU, Jupyter, dev packages from requirements
Sediba-AI
-
fix: remove system packages from requirements.txt
Sediba-AI
-
fix: make collectstatic non-fatal during Docker build
Sediba-AI
-
fix: use valid HF color values in README
Sediba-AI
-
fix: add required HF Spaces README frontmatter
Sediba-AI
-
fix: correct Dockerfile CMD syntax
Sediba-AI
-
fix: run model download before gunicorn
Sediba-AI
-
feat: add model download script for HF Space startup
Sediba-AI
-
fix: remove models from repo — load from HF Hub at runtime
Sediba-AI
-
fix: remove large model files from repo, load at runtime
Sediba-AI
-
feat: include model files for HF Space deployment
Sediba-AI
-
feat: initial Morutabana deployment
Sediba-AI
-
Add .gitignore and .dockerignore to exclude large files
Sediba-AI
-
Initial Morutabana deployment: XLM-R + EduIntel + sentiment classifier
Sediba-AI
-
EduIntel v1.1 — novel boost, expanded glossary, hallucination guard
Sediba-AI
-
EduIntel v1 — RAG pipeline + generation layer complete
Sediba-AI