Spaces:
Sleeping

File size: 1,343 Bytes
64569a1
 
 
857d81c
64569a1
 
 
 
 
 
065189e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
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`