Upload QUICK_START.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081# TRIQA Hugging Face Demo - Quick Start Guide
## π Create Your Hugging Face Space
### Step 1: Create the Space1. Go to https://huggingface.co/spaces2. Click "Create new Space"3. Fill in: - **Space name**: `triqa-image-quality-assessment` - **License**: MIT - **SDK**: Gradio - **Hardware**: CPU (or GPU if available) - **Visibility**: Public
### Step 2: Upload FilesUpload these files from this folder to your Hugging Face Space:
#### Core Files (Upload these first):- `app.py` - Main application- `README.md` - Space description- `requirements.txt` - Dependencies- `package.json` - Node.js config- `convnext_original.py` - Model architecture- `convnext_finetune.py` - Model architecture- `sample_image/` folder - Sample images
#### Model Files (Download from Box first):1. Go to: https://utexas.box.com/s/8aw6axc2lofouja65uc726lca8b1cduf2. Download the model files3. Create these directories in your Space: - `feature_models/` - `Regression_Models/`4. Upload the model files to their respective directories
### Step 3: Test the Demo1. Wait for the build to complete (2-5 minutes)2. Upload a sample image3. Click "Assess Quality"4. Verify you get a quality score (1-5 scale)
## π File Structure in Your Space```your-space/βββ app.pyβββ README.mdβββ requirements.txtβββ package.jsonβββ convnext_original.pyβββ convnext_finetune.pyβββ sample_image/β βββ 233045618.jpgβ βββ 25239707.jpgβ βββ 44009500.jpgβ βββ 5129172.jpgβ βββ 85119046.jpgβββ feature_models/β βββ convnext_tiny_22k_224.pthβ βββ triqa_quality_aware.pthβββ Regression_Models/ βββ KonIQ_scaler.save βββ KonIQ_TRIQA.save```
## π― Expected Demo Features- **Image Upload**: Drag & drop or click to upload- **Quality Assessment**: Click button to get score- **Sample Images**: Pre-loaded examples- **Paper Links**: arXiv and IEEE links- **Citation**: BibTeX citation
## π§ Troubleshooting- **Build fails**: Check requirements.txt- **Models not loading**: Verify model files are uploaded- **File not found**: Check file paths and names- **Memory issues**: Use CPU hardware
## π Support- GitHub: https://github.com/rajeshsureddi/triqa- Paper: https://arxiv.org/pdf/2507.12687
Your demo will be live at: `https://huggingface.co/spaces/your-username/triqa-image-quality-assessment`QUICK_START.mdAdded+81