How asiyaibrahim478/nlp_semester_projectt works
Summary Box is a Streamlit app for turning pasted text or sourced content into summaries and document insights. Users submit text, a URL, PDF, audio, or YouTube link; source-specific extractors produce text that the app analyzes and displays, with summaries optionally saved to session favorites. The README also documents downloadable text reports, though that capability is not visible in the sampled app.py excerpt. The graph reflects the single-file implementation; external service links are shown only where the excerpt calls them.
Main entry points: app.py Streamlit UI
Components 20
Content Inputs
- Streamlit UI
app.py - Text Entry
app.py - URL Extraction
app.py - PDF Extraction
app.py - Audio Transcription
app.py - YouTube Transcript
app.py
Text Analysis
- Content Analysis
app.py - BART Summarizer
app.py - Key Concepts
app.py - Technology Detection
app.py - Purpose Classification
app.py - Creativity Measure
app.py
App Experience
- Analysis Results
app.py - Session Favorites
app.py - Text Report Export
app.py
Other components
- User
- Web Pages
- Google Speech
- YouTube Transcripts
- Hugging Face Model
Connections 19
- User → Streamlit UI: uses
README.md - Streamlit UI → Text Entry: accepts text
app.py - Streamlit UI → URL Extraction: submits URL
app.py - Streamlit UI → PDF Extraction: submits PDF
app.py - Streamlit UI → Audio Transcription: submits audio
app.py - Streamlit UI → YouTube Transcript: submits link
app.py - URL Extraction → Web Pages: fetches page
app.py - Audio Transcription → Google Speech: transcribes audio
app.py - YouTube Transcript → YouTube Transcripts: gets transcript
app.py - Streamlit UI → Content Analysis: processes text
app.py - Content Analysis → BART Summarizer: generates summary
app.py - BART Summarizer → Hugging Face Model: loads model
app.py - Content Analysis → Key Concepts: extracts terms
app.py - Content Analysis → Technology Detection: detects tools
app.py - Content Analysis → Purpose Classification: infers purpose
app.py - Content Analysis → Creativity Measure: scores vocabulary
app.py - Content Analysis → Analysis Results: renders insights
app.py - Streamlit UI → Session Favorites: saves summary
app.py - Analysis Results → Text Report Export: exports report
README.md