Spaces:
Runtime error
Runtime error
Commit History
-
Deploy Gradio app to HF Spaces
Aryan Mishra- Remove Streamlit/FastAPI/Celery - Add single-file Gradio UI - Add SQLite for prediction history - Update docs and CI2617189 -
Add CI, typed ORM models, and packaging cleanup
Aryan MishraIntroduce repo-wide engineering guardrails with GitHub Actions CI (ruff, mypy, bandit, pytest), pre-commit hooks, editor config, and contributor/security docs. Refactor API persistence models into `api/models` with SQLAlchemy 2.0 typed mappings, wire imports accordingly, and align project packaging/test execution by adding `py.typed` markers, pytest pythonpath config, and Makefile/docs updates that remove ad-hoc `PYTHONPATH` usage. This also cleans generated artifacts from git, updates notebook/script paths to src-layout module execution, and refreshes project structure documentation.a00fee9
-
Restructure to api/src and add Streamlit UI
Aryan MishraRefactors the project layout by moving backend modules from `app` to `api`, moving ML code under `src/absa`, and updating imports, Docker entrypoints, DVC commands, and scripts to match. Replaces the HTMX/Jinja web layer with a new Streamlit frontend (`frontend/`) including analyzer, admin overview, batch, and monitor views backed by an HTTP API client. Also consolidates dependencies and tooling in `pyproject.toml`, adds a Makefile workflow, and updates tests (new Streamlit/client and pipeline tests, removed legacy web page tests). The pipeline rule-based fallback was strengthened with clause-aware scoring, Unicode-aware tokenization for Devanagari, broader sentiment lexicons, noun-near-sentiment target extraction, and an overall fallback aspect so predictions remain useful when lexicon matches are missing.7535e76
-
Restructure project layout, modernize stack, and clean up deprecated code
Aryan Mishra- Flatten directory structure: api/app/ -> app/, config/docker/ -> docker/ - Rename ML library from src/ to absa/ for clarity - Migrate from Streamlit dashboard to HTMX-based UI (see docs/HTMX_MIGRATION.md) - Add CSRF middleware (app/middleware/csrf.py) and pyproject.toml - Remove deprecated: dashboard_backup/, streamlit_app/, old planning docs, railway.json - Update: README, .env.example, .gitignore, requirements.txt, dvc.yaml, tests - Fix import paths across absa/, app/, tests/, and scripts/547bc5b
-
chore: Address security vulnerabilities and apply best practices
Aryan Mishra- Removed hardcoded credentials in docker-compose.yml in favor of environment variables. - Fixed SQL injection vulnerability in drift_monitor.py by using parameterized queries. - Prevented potential XSS in predict_result.html by replacing innerHTML with safe DOM API methods. - Added essential security headers (CSP, X-Frame-Options, etc.) to nginx configuration. - Upgraded vulnerable dependencies (fastapi, jinja2, pandas, etc.) in requirements.txt and added slowapi for rate limiting. - Improved error handling and resource cleanup in batch processing tasks. - Added SECURITY_AUDIT.md to document the security assessment.c539266
-
feat: Phase 8 - final evaluation and portfolio polish
Aryan Mishra1130076
-
feat: Phase 3 - baseline and XLM-R fine-tuning
Aryan Mishra119802d
-
fix: add IndicSentiment Hindi dataset
Aryan Mishradb13628 -
feat: Phase 1 - project scaffold and data download
Aryan Mishra7fe1de1
-
feat: Phase 1 - project scaffold and data download
Aryan Mishra85e28ad