Assignment5-7 / user_readme.md
Sirapatrwan's picture
Upload user_readme.md
8b2b5cf verified

A newer version of the Streamlit SDK is available: 1.48.0

Upgrade

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).
  • 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.