Spaces:
Sleeping
Sleeping
Joseph Pollack
adds or improves : interface , tests, docs , ci , precommit , build , and demo
ce644a9
unverified
metadata
title: DeepCritical
emoji: 🧬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.0.1
python_version: '3.11'
app_file: src/app.py
hf_oauth: true
hf_oauth_expiration_minutes: 480
hf_oauth_scopes:
- inference-api
pinned: true
license: mit
tags:
- mcp-in-action-track-enterprise
- mcp-hackathon
- drug-repurposing
- biomedical-ai
- pydantic-ai
- llamaindex
- modal
Quick Start
1. Environment Setup
# Install uv if you haven't already
pip install uv
# Sync dependencies
uv sync --all-extras
2. Run the UI
# Start the Gradio app
uv run gradio gradio src/app.py
Open your browser to http://localhost:7860.
3. Authentication (Optional)
HuggingFace OAuth Login:
- Click the "Sign in with HuggingFace" button at the top of the app
- Your HuggingFace API token will be automatically used for AI inference
- No need to manually enter API keys when logged in
- OAuth token is used only for the current session and never stored
4. Connect via MCP
This application exposes a Model Context Protocol (MCP) server, allowing you to use its search tools directly from Claude Desktop or other MCP clients.
MCP Server URL: http://localhost:7860/gradio_api/mcp/
Claude Desktop Configuration:
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"deepcritical": {
"url": "http://localhost:7860/gradio_api/mcp/"
}
}
}