Skip to content

con169/smart-textbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Textbook

An AI-powered web application that allows users to:

  • Upload and process PDF textbooks
  • Ask questions about specific chapters or topics
  • Get AI-generated answers with text-to-speech capabilities using celebrity voices

Features

  • PDF text extraction and processing
  • AI-powered Q&A system
  • Text-to-speech with celebrity voice options
  • Modern web interface

Tech Stack

  • Backend: Python (Flask)
  • Frontend: React
  • AI: OpenAI API
  • Text-to-Speech: ElevenLabs API

Setup Instructions

  1. Clone the repository
  2. Backend setup:
    cd backend
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
  3. Frontend setup:
    cd frontend
    npm install

Environment Variables

Create a .env file in the backend directory with:

OPENAI_API_KEY=your_openai_api_key
ELEVENLABS_API_KEY=your_elevenlabs_api_key

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published