Spaces:
Build error
Build error
A newer version of the Streamlit SDK is available: 1.56.0
metadata
title: Smart Clipper
emoji: 🎬
colorFrom: purple
colorTo: pink
sdk: streamlit
sdk_version: 1.25.0
app_file: app.py
pinned: false
Smart Clipper — Upload-first version
What it does:
- Upload MP4, auto-detect interesting moments, generate vertical 9:16 clips (40–60s).
- Add zoom-in effect and burn captions (Whisper optional).
- Show a viral-likelihood % for each clip (heuristic).
Requirements:
- System
ffmpegmust be installed. - Python packages: see
requirements.txt. - Whisper is optional — install if you want high-quality auto captions.
How to use:
- Run locally:
pip install -r requirements.txt(after installingffmpeg) thenstreamlit run app.py. - Or upload files to a Hugging Face Space (note: Spaces may block YouTube downloads; use Upload MP4).
- Upload MP4 and generate clips.
Notes:
- Viral score is a heuristic combining audio energy, motion, and face presence. It's an estimate, not a guarantee.
- If you want advanced captions or prettier subtitle styling, ask and I will improve the renderer.