RohitCSharp commited on
Commit
a6ac13d
Β·
verified Β·
1 Parent(s): 6cd48b1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -1
README.md CHANGED
@@ -10,5 +10,84 @@ pinned: false
10
  license: mit
11
  short_description: URL to Audio Summary Agent
12
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
10
  license: mit
11
  short_description: URL to Audio Summary Agent
12
  ---
13
+ # πŸ—£οΈ URL to Audio Summary Agent (LangChain + Hugging Face)
14
+
15
+ This project is an advanced LangChain-powered agent that takes any article/blog URL, summarizes it using a CPU-friendly language model, and generates a spoken audio summary. Designed to run entirely on **CPU**, it's perfect for deploying on **Hugging Face Spaces**.
16
+
17
+ ---
18
+
19
+ ## πŸš€ Features
20
+
21
+ - 🌐 Fetches and parses web content from any URL
22
+ - 🧠 Summarizes long articles using `flan-t5-base`
23
+ - πŸ”Š Converts summaries into speech using `espnet/kan-bayashi_ljspeech_vits`
24
+ - πŸ–₯️ CPU-only β€” no GPU or API keys required
25
+ - 🧱 Built using LangChain, Gradio, Transformers
26
+
27
+ ---
28
+
29
+ ## πŸ›  Tech Stack
30
+
31
+ - **LangChain**: Document loader, prompt chaining
32
+ - **Transformers**: `flan-t5-base` for summarization
33
+ - **ESPnet/VITS**: Natural-sounding voice TTS model
34
+ - **Gradio**: Easy interface for Hugging Face Spaces
35
+
36
+ ---
37
+
38
+ ## 🧩 Usage
39
+
40
+ 1. Paste any blog or article URL (e.g. from Medium, BBC, etc.)
41
+ 2. The agent will:
42
+ - Load and extract article content
43
+ - Summarize the article intelligently
44
+ - Convert the summary into audio
45
+ 3. You get both:
46
+ - πŸ“„ Text Summary
47
+ - πŸ”‰ Downloadable Audio Summary (WAV)
48
+
49
+ ---
50
+
51
+ ## πŸ“¦ Installation
52
+
53
+ To run locally or on Spaces:
54
+
55
+ ### `requirements.txt`
56
+ ```txt
57
+ gradio
58
+ langchain
59
+ transformers
60
+ torch
61
+ sentencepiece
62
+ beautifulsoup4
63
+ ```
64
+
65
+ ---
66
+
67
+ ## πŸ’‘ SEO Tags
68
+ `AI article summarizer`, `Text-to-Speech summarizer`, `LangChain agent`, `Hugging Face CPU summarizer`, `URL to audio`, `audio content AI`, `gradio langchain tts`
69
+
70
+ ---
71
+
72
+ ## 🧠 Example Models Used
73
+ - `google/flan-t5-base` (Summarization)
74
+ - `espnet/kan-bayashi_ljspeech_vits` (TTS)
75
+
76
+ ---
77
+
78
+ ## πŸ“ Ideal For
79
+ - Podcasters turning news into voice
80
+ - Accessibility tools
81
+ - EdTech content summarization
82
+ - Personal AI readers
83
+
84
+ ---
85
+
86
+ ## πŸͺͺ License
87
+ MIT β€” fork, remix, and deploy freely.
88
+
89
+ ---
90
+
91
+ ## πŸ™Œ Credits
92
+ Built using [LangChain](https://www.langchain.com/) and [Hugging Face Transformers](https://huggingface.co/transformers/).
93