File size: 1,193 Bytes
8b2b5cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Comapany News Summarizer and Sentiment Analyzer

This app fetches news articles about a company, analyzes their sentiment, generates a summary, and provides audio in English or Hindi.

## Features
- News fetching from Google News RSS.
- Sentiment analysis using Hugging Face `transformers`.
- Dynamic sentiment summaries.
- Audio generation in English and Hindi.
- Streamlit UI with interactive charts.


## Usage Terms
- **Developed by Krishna Prakash** ([LinkedIn](https://www.linkedin.com/in/krishnaprakash-profile/)).
- **Commercial use**: Contact the author for permission.
- **Attribution**: If you use this code, give credit to Krishna Prakash and link to this repository.

## Local Execution
- Install dependencies: `pip install -r requirements.txt`
- Run: `streamlit run app.py`& `python api.py`


## Files
- `app.py`: Streamlit frontend.
- `utils.py`: News fetching, sentiment analysis, TTS logic.
- `tts.py`: Text-to-speech conversion.
- `api.py`: FastAPI backend (local use).
- `requirements.txt`: Dependencies.
- `.gitignore`: Excludes unnecessary files.

## Contact
For questions or commercial use, reach out via [LinkedIn](https://www.linkedin.com/in/krishnaprakash-profile/).