Spaces:
Paused
Paused
| 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/). | |