File size: 1,753 Bytes
4c6a083
d366aea
8923623
 
4c6a083
 
 
 
d366aea
8923623
 
 
 
 
 
 
d366aea
4c6a083
 
8923623
4c6a083
8923623
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4ac7df0
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: Pycaps
emoji: 🧠
colorFrom: pink
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
- subtitles
- video
- captions
- whisper
- css
pinned: true
short_description: Add CSS-styled subtitles to your videos
license: mit
---

# 🧠 Pycaps Demo: Add Smart, Styled Subtitles to Any Video

> πŸŽ₯ Add *TikTok-style* subtitles to your videos with CSS-like styling, animations, and AI transcription – all in Python!

This is a demo of [**pycaps**](https://github.com/francozanardi/pycaps), an open-source Python tool that lets you:

βœ… Transcribe videos using **OpenAI Whisper**  
🎨 Style subtitles using **CSS**  
πŸ’₯ Animate words, lines or segments dynamically  
πŸ§ͺ Insert **emojis**, **effects**, and **tags** by context or regex  
πŸ“¦ Render everything into a final styled video, automatically

---

### πŸ” What can you try here?

This online demo lets you:
- Upload a short video (less than 60s)
- Automatically transcribe its audio
- Preview how subtitles look using built-in styles
- Download the final video

> ⚠️ This runs on Hugging Face CPU infra, so it's ideal for short tests. For full GPU-powered rendering, check out the [Colab Notebook](https://colab.research.google.com/drive/117g6xujecjLyXHBwhwyzx0innCMLh_nj?usp=sharing).

---

### πŸ‘‰ Try Full Examples

![demo-gif](https://github.com/user-attachments/assets/fd2d3325-c986-4b6a-81ba-09c428577e61)

πŸ”— [GitHub Repo](https://github.com/francozanardi/pycaps)  
πŸ““ [Google Colab Notebook](https://colab.research.google.com/drive/117g6xujecjLyXHBwhwyzx0innCMLh_nj?usp=sharing)

---

### πŸ’‘ Want more?

Explore the full project at [github.com/francozanardi/pycaps](https://github.com/francozanardi/pycaps) or visit [pycaps.com](https://www.pycaps.com/).