Spaces:
Sleeping
Sleeping
metadata
title: Link To Video
emoji: π
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
license: mit
π¬ URL to AV Summary Agent
This project is a LangChain-powered app that takes an article URL, generates a clean summary, and turns it into an auto-narrated video using gTTS
and moviepy
. Fully CPU-compatible and ready to deploy on Hugging Face Spaces.
π Features
- π Accepts any blog or article URL
- π§Ή Cleans non-article elements (menus, headers, footers)
- π§ Summarizes with
flan-t5-base
(CPU-friendly) - π Generates speech with
gTTS
- π₯ Creates a 720p narrated video with summary overlay
- π₯οΈ 100% CPU-only β no GPU or API keys required
π¦ Installation
requirements.txt
gradio
langchain
transformers
torch
sentencepiece
beautifulsoup4
requests
gtts
moviepy
Run with:
pip install -r requirements.txt
python app.py
β¨ Usage
- Paste the article/blog URL.
- App scrapes only relevant text.
- Generates a plain text summary.
- Converts it into speech + video.
- Download or preview the
.mp4
AV summary.
π§ Models Used
google/flan-t5-base
for summarizationgTTS
(Google Text-to-Speech)
π₯ SEO Tags
AI video summarizer
, article to video
, URL to AV summary
, LangChain video agent
, text-to-video
, gTTS + moviepy
, Hugging Face CPU agent
π Ideal Use Cases
- Content marketing automation
- News summarization
- Voice-based edtech briefs
- Text-to-video content for social media
πͺͺ License
MIT β fork, remix, and deploy freely.
π Credits
Built with LangChain, Transformers, gTTS, and MoviePy.