| --- |
| title: HistoPath Agent |
| emoji: π |
| colorFrom: purple |
| colorTo: blue |
| sdk: docker |
| app_port: 7860 |
| pinned: false |
| 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 |
| 1. Enter the passcode to access the application |
| 2. Upload your histopathology image (.svs, .png, .jpg, .tif) |
| 3. Enter your analysis request |
| 4. View results in the Images and Data tabs |
|
|
| ## Environment Variables |
| Set these in your Hugging Face Spaces secrets: |
| - `GRADIO_PASSWORD`: Access passcode |
| - `HUGGINGFACE_ACCESS_TOKEN`: For accessing gated models |
| - `ANTHROPIC_API_KEY`: For Claude LLM (optional) |
| - `OPENAI_API_KEY`: For OpenAI models (optional) |
|
|
| ## Credits |
| Built with LazySlide, LangChain, and Gradio |