Spaces:
Runtime error
Runtime error
Commit History
-
Use ssr_mode=False instead of ssr=False to fix TypeError
Aryan Mishra9a7ddfc -
Disable Gradio SSR to prevent Node.js crash
Aryan Mishrae7fe010 -
Bump Gradio sdk_version to 5.14.0 to fix Jinja render error
Aryan Mishra8820a7c -
Fix requirements and UI theme
Aryan Mishra7a2d904 -
Apply theme/CSS when creating Gradio Blocks
Aryan MishraMove the `custom_css` definition before UI construction and pass both `theme` and `css` directly into `gr.Blocks(...)` instead of `demo.launch(...)`. This keeps styling configuration attached to the app object and simplifies startup with a plain `demo.launch()`.0ca1086 -
Update requirements.txt
Aryan Mishraaba9503 -
Add tracked ABSA datasets and demo resources
Aryan MishraAdds initial data assets under `data/`, including a demo review file, the FastText language ID model (`lid.176.ftz`), and tokenized Hugging Face Arrow datasets for both ABSA classification and NER across train/validation/test splits. Also adds `data/raw.dvc` to track the raw dataset directory with DVC and a local `.gitignore` entry for `data/raw`.84e52b7 -
Add missing fasttext dependency
Aryan Mishra1774b6f -
Pin huggingface_hub version
Aryan Mishra5e5ae22 -
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 -
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 CIbdf5254 -
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
-
Refactor dashboard to native Streamlit UI
Aryan MishraRemoves custom HTML/CSS theming (`unsafe_allow_html`) from the Streamlit frontend and replaces it with native Streamlit components (titles, bordered containers, progress bars, and markdown). Updates admin/predict pages and shared UI helpers accordingly, including test adjustments to assert title-based rendering. Documentation and changelog were also updated to reflect the pure-Python architecture (Streamlit + FastAPI), and obsolete Nginx SPA proxy config was removed.dbd4e8b
-
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
-
Configure GitHub Linguist language statistics
Aryan MishraAdd .gitattributes rules to exclude non-core code from GitHub's language statistics. This includes archived dashboard backup code, IDE tooling, Jupyter notebooks, and build artifacts. Prevents these from misrepresenting the repository's primary languages (Python and JavaScript for the active application).b50968a
-
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
-
Add Streamlit frontend and Docker service
Aryan MishraIntroduce a new Streamlit UI with a home dashboard and single-text prediction page, plus an API client for health/info/predict/batch endpoints. Add a dedicated Streamlit Dockerfile and update docker-compose to run the new `streamlit` service on port 8501 with `API_BASE_URL` wiring. Also add Streamlit-related Python dependencies needed by the frontend.d5eac89
-
Refresh README project overview
Aryan MishraUpdate the README to better describe the FastAPI + HTMX app, clarify the inference and monitoring stack, and modernize the repository layout and setup instructions. Also align the run commands and notes with the current Docker, DVC, and app entrypoint structure.5f1c2eb -
Update .DS_Store
Aryan Mishra1202a82
-
docs: clean up README architecture and startup instructions
Aryan Mishradc0b93e -
Phase 6: Final Cleanup and Python-First Migration Complete
Aryan Mishra1e71331 -
Phase 5.6: Restore Chart Feature Parity
Aryan Mishra64a410d -
Phase 5: HTMX System Monitor Page
Aryan Mishra014f36c -
Phase 4: HTMX Batch Analytics Page
Aryan Mishra3c07ffe -
Phase 3: HTMX Predict Page
Aryan Mishra6b71335 -
Phase 2: Jinja2 infrastructure
Aryan Mishrad0a5e7c
-
Refactor project structure
Aryan Mishrad9530b5
-
Expand architecture documentation
Aryan MishraAdd detailed documentation for the API, database, deployment, security, tech stack, and system design. Update the main architecture doc to reflect the full multilingual ABSA pipeline, deployment flow, and MLOps stack.90e5963
-
Allow SQLite DB connections across threads
Aryan MishraAdd SQLite-specific `connect_args` when creating the SQLAlchemy engine so `check_same_thread` is disabled for local SQLite usage while preserving existing settings for other databases.2417b88
-
Remove CI/CD references from docs
Aryan MishraDeleted the GitHub Actions workflow files and updated the README and project docs to remove outdated CI/CD mentions, keeping the repository documentation aligned with the current deployment and monitoring setup.4347000 -
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 -
feat: updates to frontend dashboard and api services
Aryan Mishra927450f -
docs: improve README with comprehensive project documentation
Aryan Mishraae0eb95
-
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 -
Expand README with comprehensive project documentation
Aryan MishraAdd detailed project documentation including tech stack, ABSA task definition, project structure, setup instructions, coding conventions, and current phase. Establishes project scaffolding for Week 1. Note: .DS_Store should be added to .gitignore to prevent future commits of macOS system files.ec272a0
-
feat: Phase 3 - baseline and XLM-R fine-tuning
Aryan Mishra119802d
-
feat: Phase 2 - preprocessing and EDA pipeline
Aryan Mishra2f9be58 -
fix: add IndicSentiment Hindi dataset
Aryan Mishradb13628 -
feat: Phase 1 - project scaffold and data download
Aryan Mishra7fe1de1
-
Add GSD agent specs and Opencode config
Aryan MishraIntroduce a suite of GSD subagent specifications and Opencode metadata. Adds many .opencode/agents/*.md definitions (advisor, AI researcher, assumptions analyzer, code fixer, code reviewer, debugger, doc tools, planners, auditors, etc.), plus .opencode/gsd-file-manifest.json, gsd-install-state.json, opencode.json, and settings.json to register these agents and their configuration. This commit seeds the repository with agent roles and the orchestration/config needed for the GSD workflow.d9f3e06 -
docs: mark Phase 1 complete
Aryan Mishra12ab1d8 -
feat: Phase 1 - project scaffold and data download
Aryan Mishra85e28ad
-
feat: initial commit - Multilingual ABSA project setup with 6 phases, 36 requirements
Aryan Mishraa6b96c2
-
Initial commit
Aryan Mishra88567af