bayan-api / src

Commit History

fix: Remove duplicate /api/spelling route causing AssertionError
738185d

youssefreda9 commited on

feat: Enable ContextualCorrector (BERT MLM) for spelling - Pre-download AutoModelForMaskedLM in Dockerfile
bcf3607

youssefreda9 commited on

feat: Add AraSpell spelling correction endpoint (POST /api/spelling) with lazy model loading - Extract AraSpell pipeline into src/nlp/spelling/ (araspell_rules.py + araspell_service.py) - Pre-download AraBERT encoder-decoder + checkpoint in Dockerfile - Lazy load on first request, contextual=False to save RAM - Update health check to report spelling status
53f433b

youssefreda9 commited on

fix: Always load models on import (RENDER/GUNICORN_LOADED env vars not set in HF Spaces)
ccf3eef

youssefreda9 commited on

debug: Add startup error tracking + memory info to debug endpoint
756045d

youssefreda9 commited on

fix: Load summarization model locally with float16 (HF free tier has no outbound DNS)
d229a9c

youssefreda9 commited on

fix: DNS endpoint discovery - test multiple HF hostnames to find reachable one
922cc55

youssefreda9 commited on

fix: Construct RequestParameters with all 6 required args (url, task, model, json, data, headers)
625b5d7

youssefreda9 commited on

fix: Construct RequestParameters properly using inspect.signature
d3fe06e

youssefreda9 commited on

fix: Try multiple _inner_post calling conventions + inspect signature
06ff15b

youssefreda9 commited on

fix: Use _inner_post transport from InferenceClient v1.19.0
82a77dd

youssefreda9 commited on

debug: Deep diagnostics to find InferenceClient internal transport
dc7f39b

youssefreda9 commited on

fix: Back to InferenceClient with correct method signatures + diagnostics
8b888b0

youssefreda9 commited on

fix: Use requests.post() directly instead of InferenceClient (version compat issue)
0405b6b

youssefreda9 commited on

fix: Use client.post() for all models, fix summarization params, better error capture
e18c6c8

youssefreda9 commited on

fix: Use huggingface_hub InferenceClient instead of raw urllib (fixes DNS inside HF Spaces)
7cd5afa

youssefreda9 commited on

fix: Add wait_for_model, debug endpoint, and better HF API error handling
2df4f2d

youssefreda9 commited on

feat: Switch all NLP models to HuggingFace Inference API
239c0bb

youssefreda9 commited on

Fix: Google link failure now falls back to full sign-in instead of error toast
d487585

youssefreda9 commited on

Fix: Guest login navigates to home/landing page instead of editor
349ddaa

youssefreda9 commited on

authDone Ready for deployment
bb51619

youssefreda9 commited on

added light theme and ISLAMIC RAG and fixed the UI/UX issues and added the auth
012d0ac

MAtef24 commited on

initial UI
0c086e7

MAtef24 commited on

Initial commit: repository skeleton and folder READMEs
b366dff

MAtef24 commited on