Spaces:
Sleeping
Sleeping
metadata
title: Video Processor API
emoji: π¬
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
app_file: main.py
pinned: false
π§ Video Processor API (Whisper + Gemini)
FastAPI-based video processor that:
- Extracts audio from video using FFmpeg
- Transcribes with Faster Whisper
- Summarizes using Google Gemini API
- Returns transcript, summary, and subtitles
π Environment Variables
| Name | Description |
|---|---|
GEMINI_API_KEY |
Your Google Generative AI API key |
WHISPER_MODEL |
Whisper model size (e.g., tiny, base, small) |
WHISPER_DEVICE |
cpu or cuda |
MAX_UPLOAD_MB |
Max upload file size |
π Run Locally
pip install -r requirements.txt
python app.py