This web application provides functionality to generate notes and quizzes based on video presentations or audio transcripts. Users can either upload a file or provide a YouTube URL to initiate the generation process.
- Upload a file containing the content you want summarized.
- Alternatively, enter the URL of a YouTube video for automatic transcription.
- Click the "Generate Notes" button to initiate the process.
- Upload a file or input a YouTube URL containing the content for which you want to create a quiz.
- Click the "Generate Quiz" button to generate quiz questions based on the provided content.
- Clone the repository from GitHub.
- Ensure you have Python installed on your system.
- Navigate to the "server" folder within the cloned repository.
- Install the required Python dependencies using the following command:
pip install -r requirements.txt
- Set up environment variables:
ASSEMBLYAI_API_KEY
: AssemblyAI API key.GOOGLE_API_KEY
: Google API Key.
- Run the Flask application using the following command:
python app.py
- Access the application in your web browser at
http://localhost:8080
.
This application is also hosted on Render for easy accessibility. You can access it using the following link: GenAI Application on Render
- Generating Notes:
- Choose a file or provide a YouTube URL.
- Click "Generate Notes" to generate summarized notes.
- Generating Quiz:
- Upload a file or enter a YouTube URL.
- Click "Generate Quiz" to create quiz questions.
-
POST
/generate_notes
- Accepts file uploads or YouTube URLs to generate detailed notes.
- Returns JSON response containing generated notes.
-
POST
/generate_quiz
- Accepts file uploads or YouTube URLs to generate a quiz.
- Returns JSON response containing generated quiz questions.
- Ensure proper handling of sensitive data, especially API keys.
- Monitor resource usage, especially when dealing with large files or high traffic.