{"id":26742362,"url":"https://github.com/sreejabethu/smart-report-analyzer","last_synced_at":"2026-05-18T06:35:33.544Z","repository":{"id":284781917,"uuid":"956048205","full_name":"SreejaBethu/Smart-Report-Analyzer","owner":"SreejaBethu","description":"An AI-powered app to analyze and summarize Excel, CSV, and PDF reports using Hugging Face language models. Built with Streamlit.","archived":false,"fork":false,"pushed_at":"2025-03-27T16:41:16.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:23:17.679Z","etag":null,"topics":["data-analysis","huggingface","llm","nlp","pdf-analysis","python","question-answering","streamlit","summarization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SreejaBethu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-27T16:02:32.000Z","updated_at":"2025-03-27T16:41:20.000Z","dependencies_parsed_at":"2025-03-27T17:23:19.822Z","dependency_job_id":"c4f1a547-3a95-4ab0-a5f2-e301ea81a66e","html_url":"https://github.com/SreejaBethu/Smart-Report-Analyzer","commit_stats":null,"previous_names":["sreejabethu/smart-report-analyzer-hugging-face-streamlit-"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SreejaBethu%2FSmart-Report-Analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SreejaBethu%2FSmart-Report-Analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SreejaBethu%2FSmart-Report-Analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SreejaBethu%2FSmart-Report-Analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SreejaBethu","download_url":"https://codeload.github.com/SreejaBethu/Smart-Report-Analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978283,"owners_count":20703678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","huggingface","llm","nlp","pdf-analysis","python","question-answering","streamlit","summarization"],"created_at":"2025-03-28T06:17:39.671Z","updated_at":"2026-05-18T06:35:33.538Z","avatar_url":"https://github.com/SreejaBethu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Smart Report Analyzer(Hugging Face + Streamlit)\n\nSmart Report Analyzer is an LLM-powered web app built with **Streamlit**, powered by **Hugging Face models**, that intelligently summarizes and analyzes structured data (Excel/CSV) and unstructured text (PDF). It can also answer questions about the uploaded content using LLMs.\n\n---\n\n## 🚀 Features\n\n- 📄 Upload **PDF**, **CSV**, or **Excel** files\n- 🔍 Automatic **data preview** and **exploratory data analysis (EDA)**\n- ✨ Generate smart **summaries** from structured or unstructured content\n- 💬 Ask natural language questions and get answers powered by **Hugging Face LLMs**\n- 📊 Dynamic visualizations with Plotly\n\n---\n\n## 🧰 Tech Stack\n\n- [Streamlit](https://streamlit.io/)\n- [Transformers (Hugging Face)](https://huggingface.co/docs/transformers/index)\n- PyTorch\n- Pandas, Plotly, PDFplumber, OpenPyXL\n\n---\n\n## 📁 Project Structure\n\n Smart-Report-Analyzer/ \n ├── app.py # Main Streamlit app \n \n ├── requirements.txt \n \n ├── .env # Contains your Hugging Face token (not to be pushed) \n \n ├── utils/ \n \n       ├── file_handler.py # Handles file upload and parsing \n       \n       ├── eda.py # Data visualization (EDA) \n       \n       └── llm_agent.py # LLM summarization and Q\u0026A logic \n    \n       ├── sample_sales_data.xlsx # Test Excel file (optional) \n        \n       ├── sample_report.pdf # Test PDF file (optional) \n    \n└── README.md\n\n\n---\n\n### 🛠️ Setup Instructions\n\n##  1. Clone the Repository\n\ngit clone https://github.com/your-username/smart-report-analyzer.git\n\ncd smart-report-analyzer\n\n\n### 2. **Create and Activate Virtual Environment**\n\npython -m venv venv\nvenv\\Scripts\\activate      # On Windows\n\n\n### OR\nsource venv/bin/activate   # On Mac/Linux\n\n\n### 3. Install Dependencies\n\npip install -r requirements.txt\n\n\n### 4. Create .env File\n\nCreate a .env file in the root directory and add your Hugging Face token:\n\nHUGGINGFACE_HUB_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxx\n\nYou can generate a free token from your Hugging Face account here:\n👉 https://huggingface.co/settings/tokens\n\n\n### ▶️ Run the App\n\nstreamlit run app.py\n\nThe app will open in your browser at http://localhost:8501.\n\n--\n\n### 📦 Sample Files\n\nUse the included sample files to test:\n\n    sample_sales_data.xlsx – Structured Excel data\n\n    sample_report.pdf – Business-style unstructured report\n\n\n### ✅ Models Used\n\nPurpose\tModel\n\nSummarization\tknkarthick/MEETING_SUMMARY\n\nTable Q\u0026A\tgoogle/tapas-large-finetuned-wtq\n\nPDF/Text Q\u0026A\tgoogle/flan-t5-small\n\n\n### 🔐 Important Notes\n\nNever commit your .env file or token to GitHub.\n\nYou can add .env to .gitignore:\n\n.env\n\n### 📌 TODOs / Future Improvements\n\nAdd support for larger files or chunked analysis\n\nUpload multiple files for comparison\n\nDeploy to Streamlit Cloud or HuggingFace Spaces\n\nImprove accuracy using retrieval-augmented generation (RAG)\n\n\n### 📄 License\n\nMIT License – free to use and modify.\n\n\n### 💡Author\n\nCreated by Sreeja Bethu\n🔗 LinkedIn (linkedin.com/in/sreejabethu)\n\n\n---\n\nWould you like me to:\n\n- Help write the `requirements.txt` from your current setup?\n- Generate `.gitignore` for Python + Streamlit?\n- Zip this project structure for upload?\n\nLet’s get you live on GitHub and ready to showcase 💫\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreejabethu%2Fsmart-report-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsreejabethu%2Fsmart-report-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsreejabethu%2Fsmart-report-analyzer/lists"}