NoteWise is a web application designed to efficiently summarize textual notes. It leverages the TinyLlama model for text summarization and incorporates Whisper for voice-to-text capabilities. The application features a React frontend, a Node.js and Express backend, and utilizes Firebase for NoSQL data storage.
Developers:
- Text Summarization: Utilizes the TinyLlama model to generate concise summaries of input text.
- Voice Input: Employs Whisper to convert voice notes into text for summarization.
- Query Summaries: Allows users to ask questions or query information from the generated summaries.
- User-Friendly Interface: Built with React and Material-UI for a responsive and intuitive user experience.
- Data Management: Integrates Firebase for efficient storage and retrieval of notes.
- Frontend: React, Material-UI
- Backend: Node.js, Express
- Database: Firebase (NoSQL)
- Text Summarization Model: TinyLlama
- Voice Recognition: Whisper
-
Clone the Repository:
git clone https://github.com/SrimanCode/hackathon.git cd hackathon
-
Install Dependencies:
- Backend:
cd ../backend npm install
- Frontend:
cd ../frontend npm install
- Backend:
-
Configure Firebase:
- Replace the Firebase configuration in
firebase.js
with your project-specific details.
- Replace the Firebase configuration in
-
Start the Application:
- Backend:
cd backend npm start
- Frontend:
cd frontend npm start
- Backend:
-
Set Up TinyLlama:
- Download the TinyLlama Model:
- Visit the TinyLlama repository to download the model files.
- Install Dependencies:
pip install -r requirements.txt
- Run the Model:
python summarize.py --input text_file.txt --output summary.txt
- Download the TinyLlama Model:
-
Set Up Whisper for Voice Input:
- Install Whisper:
pip install openai-whisper
- Transcribe Audio:
whisper audio_file.mp3 --model tiny
- Install Whisper:
-
Access the Application:
- Navigate to
http://localhost:3000
in your browser.
- Navigate to
-
Summarize Text:
- Enter or paste text into the input field and click "Summarize" to generate a summary.
-
Voice Input:
- Use the voice input feature to record audio, which will be transcribed and summarized.
-
Query Summaries:
- Ask questions or query information from the generated summaries using the built-in query interface.
-
Manage Notes:
- View, edit, or delete saved notes through the dashboard.
- This project utilizes the TinyLlama model for text summarization.
- Voice recognition is powered by Whisper.