BookMindAI is an advanced tool for book analysis that provides a detailed overview of any book. Dive into plot points, relationships between characters, themes, motifs, and much more!
- Detailed Analysis: Understand the main events, character dynamics, key themes, and literary techniques.
- Book Cover Retrieval: View the book's cover.
- Bookstore Links: Find out where you can purchase the book.
- Quick Responses: Get a detailed analysis in less than 30 seconds!
-
Clone the repository:
git clone https://github.com/Illia-the-coder/BookMindAI.git
-
Navigate to the project directory:
cd BookMindAI
-
Install the required packages:
pip install -r requirements.txt
-
Set the environment variable for the Bard API token:
export BARD_API_TOKEN=your_token_here
-
Launch the Gradio interface:
python app.py
-
Open the Gradio interface in your browser and start analyzing books!
- Data Input: The user enters the book title, author's name, language, and additional analysis parameters through the Gradio interface.
- Language Selection: The chosen language is used to configure the Bard API.
- Book Cover Retrieval: A request is sent to the Bard API.
- Detailed Analysis: For each user-selected parameter, a separate request is made to the Bard API.
- Short Summary Retrieval: A request is sent to the Bard API.
- Combining Results: The short summary and detailed analysis are combined.
- Publication on Telegraph: The full book analysis is published on Telegraph.
- Displaying Results: The results are displayed in the Gradio interface.
This project is licensed under the MIT license - see the LICENSE.md file for details.
- Thanks to Palm 2 for the powerful model.
- Gradio for the intuitive interface.
- And to all participants who helped make this project a reality!