--- 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