Spaces:
Paused
Paused
Commit History
-
fix(app): handle missing ChromaDB collection gracefully on startup
KevinIsInCoding +1: Claude Sonnet 4.6Space crashes if pipeline data hasn't been uploaded. Wrap collection load in try/except; show a clear message in UI instead of crashing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>f726933 -
fix(app): use local SVG avatar to fix broken Gradio icon
KevinIsInCoding +1: Claude Sonnet 4.6Remote DiceBear URL in avatar_images fails on network errors and CORS. Replace with assets/flame.svg. Also document gradio run command in CLAUDE.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5bd89ce
-
feat: Stage 5 — Gradio UI + HuggingFace Spaces deployment
KevinIsInCoding +1: Claude Sonnet 4.6- app.py: Gradio 6.20 Blocks UI with streaming chatbot, 6 example question buttons (two columns), status bar showing chunk/trial/KG counts, medical disclaimer footer - Streaming pattern: status updates shown as italic while waiting, tokens accumulate in real-time, input locked during generation - Module-level resource loading: BioLORD collection + KG graph + trials loaded once at startup (not per request) - requirements.txt: HF Spaces mirror of pyproject.toml deps - README.md: HF Spaces metadata header + full setup guide including offline pipeline run order, architecture diagram, data sources table Verified: app starts in <5s, serves on localhost:7860, all 510 chunks / 112 trials / 220 KG nodes loaded at startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d515e2b -
feat: initial project scaffold and Stage 2 ingestion pipeline
KevinIsInCoding +1: Claude Sonnet 4.6- Project foundation: config, models, tools, llm, logging, prompts - Tool schemas: extract_entities.json, search_landscape.json - Stage 2 ingestion: - ingestion/pubmed.py: PubMed Entrez client (batch fetch, rate-limit aware) - ingestion/pmc.py: PMC XML full-text fetcher (JATS section parser) - ingestion/semantic_scholar.py: citation count enrichment via S2 batch API - ingestion/clinicaltrials.py: ClinicalTrials.gov v2 ALS trials client - scripts/ingest_papers.py: orchestrates PubMed + PMC + citations - scripts/ingest_trials.py: fetches recruiting ALS trials - Stub modules for Stage 3-5 (rag/, graph/, agents/, app.py, main.py) - MIT License, .gitignore (excludes data/, .env, logs/) - CLAUDE.md architecture guide Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0ccfe4a