Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.5.1
π Setup Instructions for New ABTestPredictor Repository
Files to Upload to Your New Hugging Face Space
1. Core Application Files
app.py- Main application with dual-AI integrationrequirements.txt- Python dependenciespackages.txt- System packagesREADME.md- Documentation
2. Data Files
metadata.js- Category definitions and mappingsconfidence_scores.js- Confidence scores for Industry + Page Type combinationspatterbs.json- Pattern descriptions for Gemini Pro analysis
3. Model Files
model/multimodal_cat_mappings_GGG.json- Category mappings for GGG model- Upload
multimodal_gated_model_2.7_GGG.pthdirectly via Hugging Face Files tab
π Required API Keys (Set in Spaces Settings)
Secrets to Add:
Name:
PERPLEXITY_API_KEYValue: Your Perplexity API key (starts withpplx-)Name:
GEMINI_API_KEY
Value: Your Google Gemini API key
π Upload Process
Option 1: Manual Upload
- Go to your new Hugging Face Space
- Upload all files via the web interface
- Set the API keys in Settings β Variables and secrets
Option 2: Git Upload
- Clone your new repository:
git clone https://huggingface.co/spaces/nitish-spz/ABTestPredictor - Copy all files from this directory to the cloned directory
- Commit and push:
git add . && git commit -m "Complete app setup" && git push
β Verification
After upload, your space should show:
- β Dual-AI powered analysis tabs
- β Enhanced model architecture loaded
- β 359 pattern detection capabilities
- β Confidence scoring with training statistics
π― Features Ready
- Smart Auto-Prediction: AI categorization + pattern detection
- Manual Selection: Traditional dropdown interface
- Batch Prediction: CSV file processing
- Enhanced Results: Comprehensive analysis with confidence metrics
Your enhanced A/B test predictor with dual-AI analysis is ready to deploy! π