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
-
Refactor project structure
Aryan Mishrad9530b5
-
Apply lint fixes and minor refactors
Aryan MishraSmall linting and refactor changes across the repo: - api/main.py: mark relocated imports with # noqa to silence E402. - api/routes/predict.py: remove unused start_time assignment. - requirements.txt: replace fasttext-wheel with fasttext-predict. - src/evaluation: remove unused ner_pipeline variable and sentiment_map_rev. - src/models: fix loop/variable names in aspect extraction and multilingual trainer; move train_test_split import in baseline. - src/training/mlflow_utils.py: add type: ignore annotations and tidy signature spacing. Verify runtime behavior where assignments were removed or inlined.6bf2e25 -
Refactor API and training scripts
Aryan MishraCleans up formatting and typing across API, data, model, evaluation, and training modules, while fixing the CI Dockerfile path and adding mypy to the CI install step. Also updates the README with a Python-first architecture note.6c2294e
-
Restructure project and add ML model modules
Aryan MishraReorganize repository layout and add core ML tooling. Moves docker/DVC/config files under config/, tightens .gitignore, and refreshes README. API refactor: routers -> routes, middleware/dependencies relocation, add DB models (api/models/db_models.py), Pydantic schemas, and create DB tables at startup; also import CORS and prometheus instrumentator. Add many training and model utilities under src/models (baseline, export_onnx, train_*, multilingual, qlora, joint ABSA), plus src/training and src/utils. Update data loader imports to src.utils.config. Remove large dataset/artifact files and local env/config secrets. Update tests to new import paths.e5158d5 -
feat: Phase 8 - final evaluation and portfolio polish
Aryan Mishra1130076
-
feat: Phase 3 - baseline and XLM-R fine-tuning
Aryan Mishra119802d
-
feat: Phase 2 - preprocessing and EDA pipeline
Aryan Mishra2f9be58
-
feat: Phase 1 - project scaffold and data download
Aryan Mishra85e28ad