Spaces:
Runtime error
Runtime error
metadata
license: apache-2.0
title: rdune71/myspace132
sdk: gradio
sdk_version: 5.44.1
README.md
AI Research Assistant
This is an AI-powered research assistant that helps you quickly gather and analyze information on any topic. It combines web search capabilities with advanced language models to provide structured, cited research summaries.
Features
- Web Search Integration: Uses Tavily API to find recent and relevant information
- AI Analysis: Processes information using a custom large language model
- Citation Management: Automatically tracks and formats sources
- Structured Output: Organizes information into clear sections
- Streaming Updates: Shows progress during processing
- Logging: Comprehensive logging for debugging and monitoring
How to Use
- Enter a research question in the input box
- Click "Research" or press Enter
- Watch the progress indicators as your research is processed
- Get a comprehensive analysis with sources
Example Queries
- "Latest advancements in quantum computing"
- "Impact of climate change on global agriculture"
- "Recent developments in Alzheimer's treatment research"
Setup for Local Development
- Install requirements:
pip install -r requirements.txt - Set environment variables:
TAVILY_API_KEY=your_tavily_api_keyHF_TOKEN=your_huggingface_token
- Run the app:
python app.py
Environment Variables
For deployment on Hugging Face Spaces, you need to set:
TAVILY_API_KEY: Your Tavily API key for web searchHF_TOKEN: Your Hugging Face access token for model access
These should be added as Secrets in your Space settings.