Spaces:
Running
Running
Fix: upgrade Gradio to 5.12.0 for huggingface_hub 1.x compat, remove gradio from requirements.txt
f9076a1 verified | title: MoneyPrinterV2 - YouTube Shorts Generator | |
| emoji: π¬ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: "5.12.0" | |
| python_version: "3.12" | |
| app_file: app.py | |
| pinned: false | |
| # MoneyPrinterV2 β YouTube Shorts Generator | |
| AI-powered YouTube Shorts video generation pipeline: | |
| 1. **Topic Generation** β LLM generates a video topic from your niche | |
| 2. **Script Writing** β LLM writes a short video script | |
| 3. **Image Generation** β Gemini API creates visuals from AI prompts | |
| 4. **Text-to-Speech** β Edge TTS converts script to natural speech | |
| 5. **Subtitle Generation** β faster-whisper creates synced subtitles | |
| 6. **Video Assembly** β MoviePy combines everything into a downloadable MP4 | |
| ## Required Secrets | |
| Set these in your Space Settings > Secrets: | |
| | Secret | Description | | |
| |--------|-------------| | |
| | `HF_TOKEN` | Hugging Face API token (for LLM text generation) | | |
| | `GEMINI_API_KEY` | Google Gemini API key (for AI image generation) | | |
| ## Usage | |
| 1. Enter a niche/topic (e.g., "artificial intelligence", "cooking tips") | |
| 2. Select language, LLM model, TTS voice, and script length | |
| 3. Click "Generate Video" | |
| 4. Download the generated MP4 | |
| > **Note:** This demo generates videos only. YouTube upload requires browser automation and is not available on HF Spaces. | |