Spaces:
Paused
Paused
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

π [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/).
|