Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,41 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.42.0
|
| 8 |
app_file: app.py
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 2 |
---
|
| 3 |
+
title: NewsIntel Agent
|
| 4 |
+
emoji: 🗞️
|
| 5 |
+
colorFrom: indigo
|
| 6 |
+
colorTo: purple
|
| 7 |
sdk: gradio
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
+
python_version: 3.10
|
| 10 |
pinned: false
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# NewsIntel Agent — Job Briefings & Hiring Signals
|
| 14 |
+
|
| 15 |
+
A Gradio app that pulls recent news, generates grounded summaries, detects entities & sentiment, and produces interview‑ready briefings (HTML/PDF).
|
| 16 |
+
Includes one‑click modes (Healthcare / Finance / R&D), caching, basic charts, and **optional** S3/SES export + weekly email.
|
| 17 |
+
|
| 18 |
+
> **Heads‑up:** This app uses your local `services/` helpers:
|
| 19 |
+
> - `services/search.py` — news fetching (`get_news`)
|
| 20 |
+
> - `services/llm.py` — LLM summarization (`summarize`)
|
| 21 |
+
> - `services/huggingface_nlp.py` — `analyze_sentiment`, `analyze_entities`, `extract_keywords`
|
| 22 |
+
> - `services/aws.py` — `s3_upload`, `ses_send_email` (optional)
|
| 23 |
+
> - `services/cache.py` — `get_cache`, `set_cache`
|
| 24 |
+
|
| 25 |
+
Please upload `services/` to the Space along with `app.py` and `requirements.txt`.
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## ✨ Features
|
| 30 |
+
|
| 31 |
+
- Google/press‑release RSS + your custom `get_news` source
|
| 32 |
+
- LLM‑generated grounded summaries (via your `services.llm.summarize`)
|
| 33 |
+
- Entity extraction, keywording, sentiment
|
| 34 |
+
- Trend & simple 7‑day forecast (linear fit on daily sentiment)
|
| 35 |
+
- Briefing export: **HTML** (built‑in) and **PDF** (optional, via `reportlab`)
|
| 36 |
+
- Optional S3 upload + SES weekly email
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## 📁 Repository layout (minimum)
|
| 41 |
+
|