Spaces:
Sleeping
Sleeping
metadata
title: Sciresearch
emoji: 🦀
colorFrom: purple
colorTo: green
sdk: docker
app_port: 7860
pinned: false
short_description: Scientific research FastAPI application
Sciresearch
Scientific research FastAPI application deployed on Hugging Face Spaces.
Features
- FastAPI web application with AI integration
- Research Team for Claims Anchoring and Reference Formatting
- Modern web interface with sidebar navigation
- Docker-based deployment for Hugging Face Spaces
- Comprehensive API endpoints
Web Interface
The application features a modern, responsive web interface with:
- Sidebar Navigation: Switch between AI Question Generator and Research Team Document Processor
- Health Monitoring: Real-time API health checks and status monitoring
- Interactive Results: Formatted display of research results with metrics and raw data
- Responsive Design: Works on desktop and mobile devices
Quick Start
# Install dependencies
pip install -r requirements.txt
# Start the application
uvicorn app:app --host 0.0.0.0 --port 8000 --reload
The web interface will be available at: http://localhost:8000
API Endpoints
GET /- Returns HTML interfaceGET /api/hello- Returns a JSON greeting messageGET /api/health- Health check endpointPOST /api/generate- AI question answeringPOST /api/research/process- Document processing with Research Team
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
uvicorn app:app \
--host 0.0.0.0 \
--port 8000 \
--reload \
--log-level info
push to hf
git push hf main
git remote add hf https://sccastillo:{HF_TOKEN}f_gzcAxmNibbphDjSUOqYEzmuMczxKiYyzMX@huggingface.co/spaces/sccastillo/sciresearch