bayan-api / src

Commit History

  1. fix: Remove duplicate /api/spelling route causing AssertionError

    738185d
  2. feat: Enable ContextualCorrector (BERT MLM) for spelling - Pre-download AutoModelForMaskedLM in Dockerfile

    bcf3607
  3. 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
  4. fix: Always load models on import (RENDER/GUNICORN_LOADED env vars not set in HF Spaces)

    ccf3eef
  5. debug: Add startup error tracking + memory info to debug endpoint

    756045d
  6. fix: Load summarization model locally with float16 (HF free tier has no outbound DNS)⁠

    d229a9c
  7. fix: DNS endpoint discovery - test multiple HF hostnames to find reachable one

    922cc55
  8. fix: Construct RequestParameters with all 6 required args (url, task, model, json, data, headers)

    625b5d7
  9. fix: Construct RequestParameters properly using inspect.signature

    d3fe06e
  10. fix: Try multiple _inner_post calling conventions + inspect signature

    06ff15b
  11. fix: Use _inner_post transport from InferenceClient v1.19.0

    82a77dd
  12. debug: Deep diagnostics to find InferenceClient internal transport

    dc7f39b
  13. fix: Back to InferenceClient with correct method signatures + diagnostics

    8b888b0
  14. fix: Use requests.post() directly instead of InferenceClient (version compat issue)

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

    e18c6c8
  16. fix: Use huggingface_hub InferenceClient instead of raw urllib (fixes DNS inside HF Spaces)

    7cd5afa
  17. fix: Add wait_for_model, debug endpoint, and better HF API error handling

    2df4f2d
  18. feat: Switch all NLP models to HuggingFace Inference API⁠

    239c0bb

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

    d487585
  2. Fix: Guest login navigates to home/landing page instead of editor

    349ddaa
  3. authDone Ready for deployment

    bb51619
  4. added light theme and ISLAMIC RAG and fixed the UI/UX issues and added the auth

    012d0ac

  1. initial UI

    0c086e7

  1. Initial commit: repository skeleton and folder READMEs

    b366dff