Spaces:
Sleeping

auto-caption / README.md
Robby
fix: simplify config to use HF defaults
e04cf97
|
Raw History Blame Contribute Delete
1.34 kB
---
title: Auto Caption AI
emoji: 🎬
colorFrom: green
colorTo: blue
sdk: gradio
app_file: app.py
pinned: false
---
# AutoCap AI 🎬
A premium AI-powered auto captioning application. Upload your videos and get perfectly timed subtitles (.SRT) in seconds using OpenAI's Whisper model.
## Features
- ✨ **AI Transcription**: High-accuracy speech-to-text.
- 🎨 **Modern UI**: Sleek, glassmorphic design with a dark theme.
- πŸ“ **SRT Export**: Download subtitles ready for any video player.
- πŸš€ **Fast & Local**: Runs on your machine for maximum privacy.
## Requirements
- Python 3.8+
- FFmpeg (Handled automatically via `imageio-ffmpeg` or system PATH)
## Installation
1. Install dependencies:
```bash
pip install fastapi uvicorn openai-whisper python-multipart imageio-ffmpeg
```
## Deployment to Hugging Face Spaces
Aplikasi ini sudah siap untuk di-deploy ke [Hugging Face Spaces](https://huggingface.co/spaces).
1. Buat Space baru (pilih SDK: **Gradio**).
2. Upload file berikut ke repository Anda:
- `app.py` (Versi Gradio)
- `requirements.txt`
- `packages.txt`
3. Space akan otomatis menginstal dependensi dan menjalankan aplikasi.
## Alternatif: FastAPI (Custom UI)
Jika Anda ingin menjalankan versi dengan UI kustom (HTML/CSS):
1. Pastikan `app_fastapi.py` tersedia.
2. Jalankan: `python app_fastapi.py`