Manju080's picture
Initial commit
c399543
|
raw
history blame
920 Bytes
# πŸš€ Text-to-SQL RAG with CodeLlama - HF Deployment
## πŸ“ **Files for Hugging Face Spaces**
This folder contains only the essential files needed for deployment to Hugging Face Spaces.
### **Core Files:**
- **`app.py`** - Main Gradio application (renamed from app_gradio.py)
- **`requirements.txt`** - Python dependencies (renamed from requirements_hf.txt)
- **`rag_system/`** - Complete RAG system implementation
- **`data/`** - Vector database and sample data
- **`prompts/`** - Prompt templates for SQL generation
### **Deployment Steps:**
1. Create a new HF Space with **Gradio** SDK
2. Clone the space to your local machine
3. Copy all files from this `hf_deployment` folder to the cloned space
4. Push to deploy
### **What's NOT Included:**
- Test files (test_*.py)
- Installation scripts
- Documentation files
- Log files
- Development-only files
Your RAG system is ready for production deployment! πŸŽ‰