metadata
title: HistoPath Agent
emoji: π¬
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.7.0
app_file: app.py
pinned: false
python_version: 3.11.13
license: mit
π¬ HistoPath Agent
AI-Powered Histopathology Analysis Assistant for whole slide image analysis, segmentation, and captioning.
Features
- πΈ Whole Slide Image (WSI) Captioning
- π Cell and Tissue Segmentation
- π·οΈ Zero-Shot Classification
- π Quantitative Analysis (TILs, Fibrosis)
Usage
- Enter the passcode to access the application
- Upload your histopathology image (.svs, .png, .jpg, .tif)
- Enter your analysis request
- View results in the Images and Data tabs
Environment Variables
Set these in your Hugging Face Spaces secrets:
GRADIO_PASSWORD: Access passcodeHUGGINGFACE_ACCESS_TOKEN: For accessing gated modelsANTHROPIC_API_KEY: For Claude LLM (optional)OPENAI_API_KEY: For OpenAI models (optional)
Credits
Built with LazySlide, LangChain, and Gradio