Spaces:
Sleeping
Sleeping
Delete HF_DEPLOYMENT_INSTRUCTIONS.md
Browse files- HF_DEPLOYMENT_INSTRUCTIONS.md +0 -100
HF_DEPLOYMENT_INSTRUCTIONS.md
DELETED
|
@@ -1,100 +0,0 @@
|
|
| 1 |
-
# π Your Nano Banana - Hugging Face Deployment Instructions
|
| 2 |
-
|
| 3 |
-
## β
API Keys Verified and Working!
|
| 4 |
-
|
| 5 |
-
Your API keys have been tested and are working correctly:
|
| 6 |
-
- β
**Gemini API Key**: `AIzaSyCOIta5_0doOiuWMm61v3cIwxRAajhYHck`
|
| 7 |
-
- β
**ElevenLabs API Key**: `sk_b3f308747a5a46448297c1f58cd1058f8535bc3c78716a9a`
|
| 8 |
-
|
| 9 |
-
## π Deploy to Hugging Face Spaces
|
| 10 |
-
|
| 11 |
-
### Step 1: Create New Space
|
| 12 |
-
1. Go to [Hugging Face Spaces](https://huggingface.co/spaces)
|
| 13 |
-
2. Click **"Create new Space"**
|
| 14 |
-
3. Choose these settings:
|
| 15 |
-
- **Space name**: `nano-banana-dynamic-creation` (or your preferred name)
|
| 16 |
-
- **License**: `MIT`
|
| 17 |
-
- **SDK**: `Gradio`
|
| 18 |
-
- **Hardware**: `CPU basic` (free tier)
|
| 19 |
-
- **Visibility**: `Public`
|
| 20 |
-
|
| 21 |
-
### Step 2: Upload Files
|
| 22 |
-
Upload these files to your new Space:
|
| 23 |
-
|
| 24 |
-
**Essential Files:**
|
| 25 |
-
- `app.py` β Main application
|
| 26 |
-
- `requirements.txt` β Dependencies
|
| 27 |
-
- `config.yaml` β Space configuration
|
| 28 |
-
- `README.md` β Documentation
|
| 29 |
-
- `packages.txt` β System packages
|
| 30 |
-
- `samples_imagen/` folder β Sample images
|
| 31 |
-
|
| 32 |
-
**Optional Files:**
|
| 33 |
-
- `Dockerfile` β Container config
|
| 34 |
-
- `COMPETITION_WRITEUP.md` β Submission info
|
| 35 |
-
|
| 36 |
-
### Step 3: Add API Keys (CRITICAL)
|
| 37 |
-
1. In your Space, go to **Settings** tab
|
| 38 |
-
2. Scroll down to **"Variables and secrets"**
|
| 39 |
-
3. Add these secrets:
|
| 40 |
-
|
| 41 |
-
**Secret 1:**
|
| 42 |
-
- Name: `GEMINI_API_KEY`
|
| 43 |
-
- Value: `AIzaSyCOIta5_0doOiuWMm61v3cIwxRAajhYHck`
|
| 44 |
-
|
| 45 |
-
**Secret 2:**
|
| 46 |
-
- Name: `ELEVENLABS_API_KEY`
|
| 47 |
-
- Value: `sk_b3f308747a5a46448297c1f58cd1058f8535bc3c78716a9a`
|
| 48 |
-
|
| 49 |
-
### Step 4: Automatic Deployment
|
| 50 |
-
- Once files are uploaded and secrets are set, Hugging Face will automatically:
|
| 51 |
-
1. Install dependencies
|
| 52 |
-
2. Build the application
|
| 53 |
-
3. Launch your Nano Banana app
|
| 54 |
-
4. Provide a public URL
|
| 55 |
-
|
| 56 |
-
### Step 5: Test Your Deployment
|
| 57 |
-
1. Wait for build to complete (usually 2-3 minutes)
|
| 58 |
-
2. Access your public URL
|
| 59 |
-
3. Test with sample images
|
| 60 |
-
4. Verify both Gemini and ElevenLabs features work
|
| 61 |
-
|
| 62 |
-
## π― Competition Submission Checklist
|
| 63 |
-
|
| 64 |
-
### For Video Demo:
|
| 65 |
-
- β
Public URL ready (no login required)
|
| 66 |
-
- β
Sample images included
|
| 67 |
-
- β
All three modes working (Complete, Edit, Blend)
|
| 68 |
-
- β
Multiple styles available (Realistic, Futuristic, Artistic)
|
| 69 |
-
- β
Optional features working (Detection, Voice)
|
| 70 |
-
|
| 71 |
-
### For Writeup:
|
| 72 |
-
- β
`COMPETITION_WRITEUP.md` prepared
|
| 73 |
-
- β
Gemini 2.5 Flash Image highlighted as primary
|
| 74 |
-
- β
Technical details documented
|
| 75 |
-
- β
Innovation clearly explained
|
| 76 |
-
|
| 77 |
-
## π₯ Pro Tips for Demo Video
|
| 78 |
-
|
| 79 |
-
1. **Start with the banner**: Show the animated Nano Banana header
|
| 80 |
-
2. **Demonstrate word-based editing**: "Add solar panels and glass facade"
|
| 81 |
-
3. **Show reality blending**: "Transform into underwater city"
|
| 82 |
-
4. **Test all three modes**: Complete β Edit β Blend
|
| 83 |
-
5. **Highlight voice narration**: Enable voice for engaging results
|
| 84 |
-
6. **Use sample images**: Pre-loaded examples work great
|
| 85 |
-
|
| 86 |
-
## π¨ Security Note
|
| 87 |
-
|
| 88 |
-
Your API keys are now configured in Hugging Face Secrets, which is secure. The keys are:
|
| 89 |
-
- Not visible in your public code
|
| 90 |
-
- Encrypted by Hugging Face
|
| 91 |
-
- Only accessible to your Space
|
| 92 |
-
|
| 93 |
-
## π You're Ready!
|
| 94 |
-
|
| 95 |
-
Your Nano Banana application is fully configured and ready for the competition. The app showcases:
|
| 96 |
-
- **Primary**: Gemini 2.5 Flash Image (Nano Banana) for dynamic creation
|
| 97 |
-
- **Optional**: Structure detection and voice narration
|
| 98 |
-
- **Innovation**: Word-based construction completion and reality blending
|
| 99 |
-
|
| 100 |
-
**Deploy now and create your competition video! π**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|